1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-08 07:07:05 +02: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
#endif #endif
delete Pipeline::instance();
if ( !m_database.isNull() ) if ( !m_database.isNull() )
delete m_database.data(); delete m_database.data();
delete Pipeline::instance();
if ( !m_infoSystem.isNull() ) if ( !m_infoSystem.isNull() )
delete m_infoSystem.data(); delete m_infoSystem.data();