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
commit 09198bf9e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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