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

This reverts commit 797ecd1539.
This commit is contained in:
Michael Friedrich 2018-12-06 09:55:42 +01:00
parent c8a1155e3d
commit ea64467c65
1 changed files with 0 additions and 1 deletions

View File

@ -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();
}