mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Android: Don't rely on onPause for pausing before destroying surface
Fixes a crash which was uncovered (or just made more likely?) by the previous commit.
This commit is contained in:
@ -186,6 +186,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
|
||||
{
|
||||
Log.debug("[EmulationFragment] Surface destroyed.");
|
||||
NativeLibrary.SurfaceDestroyed();
|
||||
mRunWhenSurfaceIsValid = true;
|
||||
}
|
||||
|
||||
public void stopEmulation()
|
||||
|
Reference in New Issue
Block a user