mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Properly finishes Godot's Android activity when destroyed by the system
This commit is contained in:
parent
975a63e6f7
commit
20b3e2cc94
1 changed files with 1 additions and 0 deletions
|
|
@ -842,6 +842,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
|
|||
}
|
||||
|
||||
private void forceQuit() {
|
||||
getActivity().finish();
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue