shmmonitor: optimize startup to avoid repeated start

This commit is contained in:
Alexey Rybalchenko 2021-03-31 10:57:29 +02:00
parent a64207eec2
commit 79d5ac281b

View File

@ -101,6 +101,7 @@ class Manager
}
if (autolaunchMonitor) {
boost::interprocess::scoped_lock<boost::interprocess::named_mutex> lock(fShmMtx);
StartMonitor(fShmId);
}