1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Revert "ThreadPool#Stop(): discard non-processed queue items"

This reverts commit 797ecd1539c91d3dd02dc7d164ce602c52a6f802.
This commit is contained in:
Michael Friedrich 2018-12-06 09:55:42 +01:00
parent c8a1155e3d
commit ea64467c65

@ -73,7 +73,6 @@ void ThreadPool::Stop()
for (auto& queue : m_Queues) {
boost::mutex::scoped_lock lock(queue.Mutex);
queue.Stopped = true;
queue.Items.clear();
queue.CV.notify_all();
}