Merge pull request #616 from Armada651/shutdown

Shutdown the Core before other components.
This commit is contained in:
Pierre Bourdon 2014-07-14 00:02:15 +02:00
commit 4d02675a8a
2 changed files with 2 additions and 2 deletions

View File

@ -453,11 +453,11 @@ void DolphinApp::OnEndSession(wxCloseEvent& event)
int DolphinApp::OnExit() int DolphinApp::OnExit()
{ {
Core::Shutdown();
WiimoteReal::Shutdown(); WiimoteReal::Shutdown();
VideoBackend::ClearList(); VideoBackend::ClearList();
SConfig::Shutdown(); SConfig::Shutdown();
LogManager::Shutdown(); LogManager::Shutdown();
Core::Shutdown();
delete m_locale; delete m_locale;

View File

@ -385,11 +385,11 @@ int main(int argc, char* argv[])
#endif #endif
} }
Core::Shutdown();
WiimoteReal::Shutdown(); WiimoteReal::Shutdown();
VideoBackend::ClearList(); VideoBackend::ClearList();
SConfig::Shutdown(); SConfig::Shutdown();
LogManager::Shutdown(); LogManager::Shutdown();
Core::Shutdown();
return 0; return 0;
} }