1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 22:14:45 -04:00

AMBE processing: handle the case where the decoder is too slow

This commit is contained in:
f4exb
2019-07-23 03:22:35 +02:00
parent 0af803551a
commit d1bd6ee7eb
2 changed files with 35 additions and 15 deletions
+4 -1
View File
@@ -78,5 +78,8 @@ int MessageQueue::size()
void MessageQueue::clear()
{
QMutexLocker locker(&m_lock);
m_queue.clear();
while (!m_queue.isEmpty()) {
delete m_queue.takeFirst();
}
}