mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-16 23:21:35 -06:00
Merge 70d51b3363 into c650473fdc
This commit is contained in:
commit
83fecf30fb
@ -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