You've already forked godot
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:
@@ -627,6 +627,10 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
|
|||||||
singletons[i].onMainDestroy();
|
singletons[i].onMainDestroy();
|
||||||
}
|
}
|
||||||
super.onDestroy();
|
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
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user