From e8f009e04f875b3ed75356068749a4f1b4d1fd55 Mon Sep 17 00:00:00 2001 From: sluicebox Date: Mon, 9 Sep 2019 15:15:52 -0700 Subject: 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 --- backends/platform/ios7/ios7_osys_main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/platform/ios7/ios7_osys_main.cpp') diff --git a/backends/platform/ios7/ios7_osys_main.cpp b/backends/platform/ios7/ios7_osys_main.cpp index 07af3118c2..636d603e94 100644 --- a/backends/platform/ios7/ios7_osys_main.cpp +++ b/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); } -- cgit v1.2.3