Merge pull request #1469 from Tilka/nogui_abort

Reorder MainNoGUI shutdown
This commit is contained in:
Ryan Houdek 2014-11-02 09:31:51 -06:00
commit 409b240c2e

View File

@ -367,8 +367,8 @@ int main(int argc, char* argv[])
while (PowerPC::GetState() != PowerPC::CPU_POWERDOWN) while (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
updateMainFrameEvent.Wait(); updateMainFrameEvent.Wait();
platform->Shutdown();
Core::Shutdown(); Core::Shutdown();
platform->Shutdown();
UICommon::Shutdown(); UICommon::Shutdown();
delete platform; delete platform;