Shut down Godot processes on app exit.
(cherry picked from commit f35b1f3b91
)
This commit is contained in:
parent
cd0ba31533
commit
0d401e11b1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue