aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsluicebox2019-09-09 15:15:52 -0700
committerFilippos Karapetis2019-09-10 13:02:28 +0300
commite8f009e04f875b3ed75356068749a4f1b4d1fd55 (patch)
tree1682b5b1970a4057611cdf6a4339ceeac9e8d26d
parent299c28e93e63452bcdd76dfa2c4d1a08b0af5ee3 (diff)
downloadscummvm-rg350-e8f009e04f875b3ed75356068749a4f1b4d1fd55.tar.gz
scummvm-rg350-e8f009e04f875b3ed75356068749a4f1b4d1fd55.tar.bz2
scummvm-rg350-e8f009e04f875b3ed75356068749a4f1b4d1fd55.zip
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
-rw-r--r--backends/platform/ios7/ios7_osys_main.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}