mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-01 12:15:03 -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() {
|
override fun onDestroy() {
|
||||||
|
if (::emulationState.isInitialized) {
|
||||||
|
emulationState.stop()
|
||||||
|
}
|
||||||
EmulationLifecycleUtil.removeHook(onPause)
|
EmulationLifecycleUtil.removeHook(onPause)
|
||||||
EmulationLifecycleUtil.removeHook(onShutdown)
|
EmulationLifecycleUtil.removeHook(onShutdown)
|
||||||
if (gameFd != null) {
|
if (gameFd != null) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user