Merge pull request #616 from Armada651/shutdown
Shutdown the Core before other components.
This commit is contained in:
commit
4d02675a8a
|
@ -453,11 +453,11 @@ void DolphinApp::OnEndSession(wxCloseEvent& event)
|
|||
|
||||
int DolphinApp::OnExit()
|
||||
{
|
||||
Core::Shutdown();
|
||||
WiimoteReal::Shutdown();
|
||||
VideoBackend::ClearList();
|
||||
SConfig::Shutdown();
|
||||
LogManager::Shutdown();
|
||||
Core::Shutdown();
|
||||
|
||||
delete m_locale;
|
||||
|
||||
|
|
|
@ -385,11 +385,11 @@ int main(int argc, char* argv[])
|
|||
#endif
|
||||
}
|
||||
|
||||
Core::Shutdown();
|
||||
WiimoteReal::Shutdown();
|
||||
VideoBackend::ClearList();
|
||||
SConfig::Shutdown();
|
||||
LogManager::Shutdown();
|
||||
Core::Shutdown();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue