mirror of
https://github.com/panda3d/panda3d.git
synced 2026-05-07 15:11:16 -05:00
android: Exit process after activity shutdown
Hack to help with #1216 a bit Unfortunately this causes the activity to reopen sometimes, but maybe this can serve as a stopgap for now
This commit is contained in:
@@ -332,4 +332,6 @@ void android_main(struct android_app *app) {
|
||||
|
||||
// Detach the thread before exiting.
|
||||
activity->vm->DetachCurrentThread();
|
||||
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user