diff --git a/CHANGELOG.md b/CHANGELOG.md index cd95c68a..e5764e40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Officially remove the Emscripten backend. - On Windows, fix handling of surrogate pairs when dispatching `ReceivedCharacter`. - On macOS 10.15, fix freeze upon exiting exclusive fullscreen mode. +- On iOS, fix panic upon closing the app. - On X11, allow setting mulitple `XWindowType`s. - On iOS, fix null window on initial `HiDpiFactorChanged` event. - On Windows, fix fullscreen window shrinking upon getting restored to a normal window. diff --git a/src/platform_impl/ios/app_state.rs b/src/platform_impl/ios/app_state.rs index 5b5b726b..6009a26a 100644 --- a/src/platform_impl/ios/app_state.rs +++ b/src/platform_impl/ios/app_state.rs @@ -462,7 +462,7 @@ impl AppState { fn terminated_transition(&mut self) -> Box { match self.replace_state(AppStateImpl::Terminated) { - AppStateImpl::ProcessingRedraws { event_handler, .. } => event_handler, + AppStateImpl::ProcessingEvents { event_handler, .. } => event_handler, s => bug!( "`LoopDestroyed` happened while not processing events {:?}", s