Quick hack to prevent Xenia from crashing on exit.

This commit is contained in:
DrChat 2017-12-18 18:15:19 -06:00
parent 11f8da9092
commit 7ae5795cb8
1 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,8 @@ int xenia_main(const std::vector<std::wstring>& args) {
exiting = true; exiting = true;
evt->Set(); evt->Set();
// TODO(DrChat): Remove this code and do a proper exit.
Profiler::Shutdown();
XELOGI("Cheap-skate exit!"); XELOGI("Cheap-skate exit!");
exit(0); exit(0);
}); });