mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Delete external resolvers when removing them from resolvers list
This commit is contained in:
@@ -169,7 +169,7 @@ Pipeline::removeScriptResolver( const QString& scriptPath )
|
|||||||
if ( r )
|
if ( r )
|
||||||
{
|
{
|
||||||
r->stop();
|
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 )
|
if ( m_stopped )
|
||||||
{
|
{
|
||||||
tLog() << "*** Script resolver stopped ";
|
tLog() << "*** Script resolver stopped ";
|
||||||
emit stopped();
|
emit terminated();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -55,7 +55,7 @@ public:
|
|||||||
virtual bool running() const;
|
virtual bool running() const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void stopped();
|
void terminated();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void stop();
|
virtual void stop();
|
||||||
|
Reference in New Issue
Block a user