Fix crash in ThreadPool::Stop

fixes #8059
This commit is contained in:
Gunnar Beutner 2014-12-11 09:33:07 +01:00
parent bd7b2f30ef
commit 874970db9e

View File

@ -60,6 +60,7 @@ void ThreadPool::Stop(void)
m_MgmtCV.notify_all();
}
if (m_MgmtThread.joinable())
m_MgmtThread.join();
for (size_t i = 0; i < sizeof(m_Queues) / sizeof(m_Queues[0]); i++) {