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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user