1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

Delete external resolvers when removing them from resolvers list

This commit is contained in:
Leo Franchi 2011-12-25 19:56:09 -06:00
parent 038daffab7
commit 4c8fa37d0e
3 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ Pipeline::removeScriptResolver( const QString& scriptPath )
if ( r )
{
r->stop();
connect( r, SIGNAL( stopped() ), r, SLOT( deleteLater() ) );
r->deleteLater();
}
}

View File

@ -300,7 +300,7 @@ ScriptResolver::cmdExited( int code, QProcess::ExitStatus status )
if ( m_stopped )
{
tLog() << "*** Script resolver stopped ";
emit stopped();
emit terminated();
return;
}

View File

@ -55,7 +55,7 @@ public:
virtual bool running() const;
signals:
void stopped();
void terminated();
public slots:
virtual void stop();