mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Don't fail on timeout.
This commit is contained in:
@@ -63,6 +63,9 @@ ScriptCommandQueue::nextCommand()
|
||||
void
|
||||
ScriptCommandQueue::onCommandDone()
|
||||
{
|
||||
if ( m_queue.isEmpty() || !m_timer->isActive() ) //the timeout already happened or some other weird thing
|
||||
return; //nothing to do here
|
||||
|
||||
m_timer->stop();
|
||||
|
||||
QMutexLocker locker( &m_mutex );
|
||||
|
Reference in New Issue
Block a user