1
0
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:
Leo Franchi 2012-02-25 16:24:57 -05:00
parent 1ac4efa88a
commit 42220a8c95

View File

@ -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.";
}