mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-29 15:33:35 -06:00
Merge 5a0808d989 into c650473fdc
This commit is contained in:
commit
63368e3202
@ -543,6 +543,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback, Choreographer.Fram
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
if (::emulationState.isInitialized) {
|
||||
emulationState.stop()
|
||||
}
|
||||
EmulationLifecycleUtil.removeHook(onPause)
|
||||
EmulationLifecycleUtil.removeHook(onShutdown)
|
||||
if (gameFd != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user