mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Don't fail on timeout.
This commit is contained in:
parent
90774b48f4
commit
ec4fe9babe
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user