mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
Delete InfoSystem after pipeline as various constructors connect to InfoSystem. Fixes crash on exit.
This commit is contained in:
parent
1ac4efa88a
commit
42220a8c95
@ -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.";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user