map lock init

This commit is contained in:
Robin Müller 2020-06-06 21:16:47 +02:00
parent d99be25529
commit ea548dea5b

View File

@ -4,7 +4,9 @@
QueueMapManager* QueueMapManager::mqManagerInstance = nullptr;
QueueMapManager::QueueMapManager() {}
QueueMapManager::QueueMapManager() {
mapLock = MutexFactory::instance()->createMutex();
}
QueueMapManager* QueueMapManager::instance() {
if (mqManagerInstance == nullptr){