diff --git a/pandatool/src/deploy-stub/android_main.cxx b/pandatool/src/deploy-stub/android_main.cxx index a99c48eb66..d1e140c5f3 100644 --- a/pandatool/src/deploy-stub/android_main.cxx +++ b/pandatool/src/deploy-stub/android_main.cxx @@ -332,4 +332,6 @@ void android_main(struct android_app *app) { // Detach the thread before exiting. activity->vm->DetachCurrentThread(); + + _exit(0); }