Properly finishes Godot's Android activity when destroyed by the system

This commit is contained in:
Marcus Brummer 2021-08-12 15:33:51 +02:00
parent 975a63e6f7
commit 20b3e2cc94

View file

@ -842,6 +842,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
}
private void forceQuit() {
getActivity().finish();
System.exit(0);
}