Fix: ASSERT in WorkQueue::Enqueue fails

Refs #4991
This commit is contained in:
Gunnar Beutner 2013-11-03 13:57:18 +01:00
parent 4f28f0f070
commit ee07cc9d06
1 changed files with 1 additions and 1 deletions

View File

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