diff --git a/src/main_android.cpp b/src/main_android.cpp index 8a43a5e13..2e6e55d4f 100644 --- a/src/main_android.cpp +++ b/src/main_android.cpp @@ -105,7 +105,7 @@ void android_main(struct android_app* app) // its state is remembered when the window is restored. We will use exit // call to make sure that all variables are cleared until a proper fix will // be done. - exit(0); + _exit(0); } #endif