1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #31521 from m4gr3d/force_quit_on_destroy

Shut down Godot processes on app exit.
This commit is contained in:
Rémi Verschelde
2019-08-21 09:07:27 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.android.tools.build:gradle:3.4.2'
}
}

View File

@@ -625,6 +625,10 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
GodotLib.ondestroy(this);
super.onDestroy();
// TODO: This is a temp solution. The proper fix will involve tracking down and properly shutting down each
// native Godot components that is started in Godot#onVideoInit.
forceQuit();
}
@Override