mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
874970db9e
commit
364f1daff8
@ -70,6 +70,8 @@ void ThreadPool::Stop(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_ThreadGroup.join_all();
|
m_ThreadGroup.join_all();
|
||||||
|
m_ThreadGroup.~thread_group();
|
||||||
|
new (&m_ThreadGroup) boost::thread_group();
|
||||||
|
|
||||||
for (size_t i = 0; i < sizeof(m_Queues) / sizeof(m_Queues[0]); i++)
|
for (size_t i = 0; i < sizeof(m_Queues) / sizeof(m_Queues[0]); i++)
|
||||||
m_Queues[i].Stopped = false;
|
m_Queues[i].Stopped = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user