diff --git a/lib/base/workqueue.cpp b/lib/base/workqueue.cpp index df98148bc..87200656c 100644 --- a/lib/base/workqueue.cpp +++ b/lib/base/workqueue.cpp @@ -82,8 +82,7 @@ void WorkQueue::Enqueue(const Task& task, bool allowInterleaved) m_Tasks.push_back(task); - if (m_Tasks.size() == 1) - m_CVEmpty.notify_all(); + m_CVEmpty.notify_one(); } /**