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:
parent
8a1d0f7a5a
commit
73c6759984
|
|
@ -332,4 +332,6 @@ void android_main(struct android_app *app) {
|
|||
|
||||
// Detach the thread before exiting.
|
||||
activity->vm->DetachCurrentThread();
|
||||
|
||||
_exit(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue