1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

Shut down Godot processes on app exit.

(cherry picked from commit f35b1f3b91)
This commit is contained in:
fhuya
2019-08-20 22:35:46 -07:00
committed by Rémi Verschelde
parent cd0ba31533
commit 0d401e11b1

View File

@@ -627,6 +627,10 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
singletons[i].onMainDestroy();
}
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