mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 01:39:42 +01:00
Fix hanging on shutdown introduced by refactor commit
This commit is contained in:
parent
aeeff01d64
commit
4f14ce96cb
@ -65,7 +65,9 @@ ScriptResolver::ScriptResolver( const QString& exe )
|
||||
|
||||
ScriptResolver::~ScriptResolver()
|
||||
{
|
||||
stop();
|
||||
disconnect( &m_proc, SIGNAL( finished( int, QProcess::ExitStatus ) ), this, SLOT( cmdExited( int, QProcess::ExitStatus ) ) );
|
||||
|
||||
m_proc.kill();
|
||||
m_proc.waitForFinished();
|
||||
|
||||
Tomahawk::Pipeline::instance()->removeResolver( this );
|
||||
|
Loading…
x
Reference in New Issue
Block a user