From ea548dea5bbd969ca17cf9cb48a6b5cfad5e8fda Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Sat, 6 Jun 2020 21:16:47 +0200 Subject: [PATCH] map lock init --- osal/host/QueueMapManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osal/host/QueueMapManager.cpp b/osal/host/QueueMapManager.cpp index a57d2c0c..e7c86f30 100644 --- a/osal/host/QueueMapManager.cpp +++ b/osal/host/QueueMapManager.cpp @@ -4,7 +4,9 @@ QueueMapManager* QueueMapManager::mqManagerInstance = nullptr; -QueueMapManager::QueueMapManager() {} +QueueMapManager::QueueMapManager() { + mapLock = MutexFactory::instance()->createMutex(); +} QueueMapManager* QueueMapManager::instance() { if (mqManagerInstance == nullptr){