Remove isFinishing check in onDestroy - not relevant.

This commit is contained in:
Henrik Rydgård 2023-09-24 22:07:48 +02:00
parent 2291855a1f
commit 2b0bbb1e0c

View File

@ -785,7 +785,7 @@ public abstract class NativeActivity extends Activity {
// TODO: Can we ensure that the GL thread has stopped rendering here?
// I've seen crashes that seem to indicate that sometimes it hasn't...
NativeApp.audioShutdown();
if (shuttingDown || isFinishing()) {
if (shuttingDown) {
NativeApp.shutdown();
unregisterCallbacks();
initialized = false;