You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Properly finishes Godot's Android activity when destroyed by the system
This commit is contained in:
@@ -842,6 +842,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void forceQuit() {
|
private void forceQuit() {
|
||||||
|
getActivity().finish();
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user