mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-22 12:34:55 +00:00
Shutdown the Core before other components.
Other components depend on the EmuThread being stopped.
This commit is contained in:
parent
0c95fcf918
commit
aa2495205e
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue