From f35b1f3b9159a6c1197c24d8195000468d1c1c61 Mon Sep 17 00:00:00 2001 From: fhuya Date: Tue, 20 Aug 2019 22:35:46 -0700 Subject: Shut down Godot processes on app exit. --- platform/android/java/src/org/godotengine/godot/Godot.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'platform/android/java/src') diff --git a/platform/android/java/src/org/godotengine/godot/Godot.java b/platform/android/java/src/org/godotengine/godot/Godot.java index 6e1841fa8b..bfc65a3b78 100644 --- a/platform/android/java/src/org/godotengine/godot/Godot.java +++ b/platform/android/java/src/org/godotengine/godot/Godot.java @@ -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 -- cgit v1.2.3