mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
bd7b2f30ef
commit
874970db9e
@ -60,7 +60,8 @@ void ThreadPool::Stop(void)
|
||||
m_MgmtCV.notify_all();
|
||||
}
|
||||
|
||||
m_MgmtThread.join();
|
||||
if (m_MgmtThread.joinable())
|
||||
m_MgmtThread.join();
|
||||
|
||||
for (size_t i = 0; i < sizeof(m_Queues) / sizeof(m_Queues[0]); i++) {
|
||||
boost::mutex::scoped_lock lock(m_Queues[i].Mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user