Shut down Godot processes on app exit.

This commit is contained in:
fhuya
2019-08-20 22:35:46 -07:00
parent 093798c976
commit f35b1f3b91
2 changed files with 5 additions and 1 deletions

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