summaryrefslogtreecommitdiff
path: root/src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp')
-rw-r--r--src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp b/src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp
index c37a62dbb8..8a4a77cf30 100644
--- a/src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp
+++ b/src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp
@@ -13,6 +13,7 @@ namespace NsMessageBroker
{
CMessageBrokerController::CMessageBrokerController(const std::string& address, uint16_t port, std::string name):
TcpClient(address, port),
+ stop(false),
m_receivingBuffer(""),
mControllersIdStart(-1),
mControllersIdCurrent(0)
@@ -20,7 +21,6 @@ namespace NsMessageBroker
mControllersName = name;
}
-
std::string CMessageBrokerController::getControllersName()
{
return mControllersName;
@@ -272,7 +272,6 @@ namespace NsMessageBroker
void* CMessageBrokerController::MethodForReceiverThread(void * arg)
{
- sync_primitives::AutoLock auto_lock(receiving_thread_lock_);
stop = false;
arg = arg; // to avoid compiler warnings
while(!stop)