Skip to content
Permalink
Browse files

IOS: Call exit(0) when exiting to prevent hanging

Prevents the process from hanging on exit when using the
Quit button in launcher or a game's quit function
  • Loading branch information...
sluicebox authored and bluegr committed Sep 9, 2019
1 parent 299c28e commit e8f009e04f875b3ed75356068749a4f1b4d1fd55
Showing with 3 additions and 0 deletions.
  1. +3 −0 backends/platform/ios7/ios7_osys_main.cpp
@@ -414,4 +414,7 @@ void iOS7_main(int argc, char **argv) {
//*stderr = NULL;
fclose(newfp);
}

// prevents hanging on exit
exit(0);
}

0 comments on commit e8f009e

Please sign in to comment.
You can’t perform that action at this time.