mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00: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:
parent
446e2d9119
commit
3eb07e9772
2 changed files with 20 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue