Merge pull request #31521 from m4gr3d/force_quit_on_destroy
Shut down Godot processes on app exit.
This commit is contained in:
commit
a1e6eeef3e
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user