mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
Fix hanging on shutdown introduced by refactor commit
This commit is contained in:
@@ -65,7 +65,9 @@ ScriptResolver::ScriptResolver( const QString& exe )
|
|||||||
|
|
||||||
ScriptResolver::~ScriptResolver()
|
ScriptResolver::~ScriptResolver()
|
||||||
{
|
{
|
||||||
stop();
|
disconnect( &m_proc, SIGNAL( finished( int, QProcess::ExitStatus ) ), this, SLOT( cmdExited( int, QProcess::ExitStatus ) ) );
|
||||||
|
|
||||||
|
m_proc.kill();
|
||||||
m_proc.waitForFinished();
|
m_proc.waitForFinished();
|
||||||
|
|
||||||
Tomahawk::Pipeline::instance()->removeResolver( this );
|
Tomahawk::Pipeline::instance()->removeResolver( this );
|
||||||
|
Reference in New Issue
Block a user