From ee07cc9d06e674bc42fcff4dd556fee4a25a8927 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 3 Nov 2013 13:57:18 +0100 Subject: [PATCH] Fix: ASSERT in WorkQueue::Enqueue fails Refs #4991 --- lib/base/workqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/workqueue.cpp b/lib/base/workqueue.cpp index a0dab7e89..05de248b7 100644 --- a/lib/base/workqueue.cpp +++ b/lib/base/workqueue.cpp @@ -49,7 +49,7 @@ void WorkQueue::Enqueue(const WorkCallback& item) { boost::mutex::scoped_lock lock(m_Mutex); - ASSERT(m_Stopped); + ASSERT(!m_Stopped); while (m_Items.size() >= m_MaxItems) m_CV.wait(lock);