Properly reset the ThreadPool status in Stop

refs #7822
This commit is contained in:
Gunnar Beutner 2014-11-28 11:32:37 +01:00
parent d013df06f7
commit d19821c900
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ void ThreadPool::Stop(void)
m_ThreadGroup.join_all();
for (size_t i = 0; i < sizeof(m_Queues) / sizeof(m_Queues[0]); i++)
m_Queues[i].Stopped = false;
m_Stopped = false;
}