Android: Fix ANR when boot fails

This commit is contained in:
Connor McLaughlin committed 2020-10-10 16:35:36 +10:00
1 parent 897f2dadf8
commit 423054e8ac
2 files changed
+4 -1

No files matched your search

@@ -100,6 +100,7 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde
public void onEmulationStopped() {
runOnUiThread(() -> {
AndroidHostInterface.getInstance().stopEmulationThread();
if (!mWasDestroyed)
finish();
});