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:
parent
038daffab7
commit
4c8fa37d0e
@ -169,7 +169,7 @@ Pipeline::removeScriptResolver( const QString& scriptPath )
|
||||
if ( r )
|
||||
{
|
||||
r->stop();
|
||||
connect( r, SIGNAL( stopped() ), r, SLOT( deleteLater() ) );
|
||||
r->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -300,7 +300,7 @@ ScriptResolver::cmdExited( int code, QProcess::ExitStatus status )
|
||||
if ( m_stopped )
|
||||
{
|
||||
tLog() << "*** Script resolver stopped ";
|
||||
emit stopped();
|
||||
emit terminated();
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
virtual bool running() const;
|
||||
|
||||
signals:
|
||||
void stopped();
|
||||
void terminated();
|
||||
|
||||
public slots:
|
||||
virtual void stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user