Merge pull request #51571 from mbrlabs/end-him-rightly

Properly finish Godot's Android activity when destroyed by the system
This commit is contained in:
Rémi Verschelde
2021-08-12 16:56:24 +02:00
committed by GitHub
@@ -842,6 +842,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
}
private void forceQuit() {
getActivity().finish();
System.exit(0);
}