mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-04 17:10:26 -04:00
parent
bd7b2f30ef
commit
874970db9e
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue