1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-19 07:27:59 +01:00

Delete pipeline after database, as some dbcmds create queries which access Pipeline

This commit is contained in:
Leo Franchi 2012-02-26 17:35:14 -05:00
parent 63c029554a
commit 52baebc899

View File

@ -316,11 +316,11 @@ TomahawkApp::~TomahawkApp()
#endif
#endif
delete Pipeline::instance();
if ( !m_database.isNull() )
delete m_database.data();
delete Pipeline::instance();
if ( !m_infoSystem.isNull() )
delete m_infoSystem.data();