Android: Fix ANR when boot fails
This commit is contained in:
@ -100,6 +100,7 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde
|
||||
|
||||
public void onEmulationStopped() {
|
||||
runOnUiThread(() -> {
|
||||
AndroidHostInterface.getInstance().stopEmulationThread();
|
||||
if (!mWasDestroyed)
|
||||
finish();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user