diff --git a/lib/base/threadpool.cpp b/lib/base/threadpool.cpp index 1dad249bc..b6b01ea78 100644 --- a/lib/base/threadpool.cpp +++ b/lib/base/threadpool.cpp @@ -73,6 +73,7 @@ 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(); }