fix locking of the useless_lock in LocklessRingBuffer.h

This commit is contained in:
Martin Pavelek
2019-12-03 20:03:58 +01:00
committed by Johannes Lorenz
parent abf3530d33
commit ef99c53357

View File

@@ -122,6 +122,7 @@ public:
void waitForData()
{
QMutex useless_lock;
useless_lock.lock();
m_notifier->wait(&useless_lock);
useless_lock.unlock();
}