mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Only remove from pipeline on destruction if still running
This commit is contained in:
@@ -231,7 +231,9 @@ QtScriptResolver::QtScriptResolver( const QString& scriptPath )
|
|||||||
|
|
||||||
QtScriptResolver::~QtScriptResolver()
|
QtScriptResolver::~QtScriptResolver()
|
||||||
{
|
{
|
||||||
Tomahawk::Pipeline::instance()->removeResolver( this );
|
if ( !m_stopped )
|
||||||
|
stop();
|
||||||
|
|
||||||
delete m_engine;
|
delete m_engine;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user