mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Delete InfoSystem after pipeline as various constructors connect to InfoSystem. Fixes crash on exit.
This commit is contained in:
@@ -307,9 +307,6 @@ TomahawkApp::~TomahawkApp()
|
||||
if ( !m_audioEngine.isNull() )
|
||||
delete m_audioEngine.data();
|
||||
|
||||
if ( !m_infoSystem.isNull() )
|
||||
delete m_infoSystem.data();
|
||||
|
||||
delete SipHandler::instance();
|
||||
|
||||
#ifndef ENABLE_HEADLESS
|
||||
@@ -324,6 +321,9 @@ TomahawkApp::~TomahawkApp()
|
||||
if ( !m_database.isNull() )
|
||||
delete m_database.data();
|
||||
|
||||
if ( !m_infoSystem.isNull() )
|
||||
delete m_infoSystem.data();
|
||||
|
||||
tLog() << "Finished shutdown.";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user