mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
Give resolver another second to quit and terminate
This commit is contained in:
parent
0bc8316319
commit
1360d28b25
@ -69,10 +69,16 @@ ScriptResolver::~ScriptResolver()
|
||||
msg[ "_msgtype" ] = "quit";
|
||||
sendMessage( msg );
|
||||
|
||||
m_proc.waitForFinished( 1000 ); // might call handleMsg
|
||||
m_proc.waitForFinished( 2000 ); // might call handleMsg
|
||||
|
||||
Tomahawk::Pipeline::instance()->removeResolver( this );
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
m_proc.kill();
|
||||
#else
|
||||
m_proc.terminate();
|
||||
#endif
|
||||
|
||||
if ( !m_configWidget.isNull() )
|
||||
delete m_configWidget.data();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user