1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 21:57:41 +02:00

Wait for script QProcess to properly exit.

This commit is contained in:
Alejandro Wainzinger
2011-08-14 13:30:22 +02:00
parent 5449154ee9
commit 0aa07d62fd

View File

@@ -65,6 +65,7 @@ ScriptResolver::ScriptResolver( const QString& exe )
ScriptResolver::~ScriptResolver() ScriptResolver::~ScriptResolver()
{ {
stop(); stop();
m_proc.waitForFinished();
Tomahawk::Pipeline::instance()->removeResolver( this ); Tomahawk::Pipeline::instance()->removeResolver( this );