diff --git a/macos/Sources/Features/Update/UpdateDelegate.swift b/macos/Sources/Features/Update/UpdateDelegate.swift --- a/macos/Sources/Features/Update/UpdateDelegate.swift +++ b/macos/Sources/Features/Update/UpdateDelegate.swift @@ -31,12 +31,4 @@ )) return true } - - func updaterWillRelaunchApplication(_ updater: SPUUpdater) { - // When the updater is relaunching the application we want to get macOS - // to invalidate and re-encode all of our restorable state so that when - // we relaunch it uses it. - NSApp.invalidateRestorableState() - for window in NSApp.windows { window.invalidateRestorableState() } - } }