diff --git a/src/xenia/app/xenia_main.cc b/src/xenia/app/xenia_main.cc index 2221413c1..84c09a9d9 100644 --- a/src/xenia/app/xenia_main.cc +++ b/src/xenia/app/xenia_main.cc @@ -232,10 +232,10 @@ int xenia_main(const std::vector& args) { debug_window.reset(); emulator.reset(); - emulator_window.reset(); Profiler::Dump(); Profiler::Shutdown(); + emulator_window.reset(); return 0; }