Implement session persistence pass 1 with multi-window restore
This commit is contained in:
parent
1809b06867
commit
927b0eb2d1
20 changed files with 3434 additions and 33 deletions
|
|
@ -80,7 +80,9 @@ extension UpdateDriver: SPUUpdaterDelegate {
|
|||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func updaterWillRelaunchApplication(_ updater: SPUUpdater) {
|
||||
AppDelegate.shared?.persistSessionForUpdateRelaunch()
|
||||
TerminalController.shared.stop()
|
||||
NSApp.invalidateRestorableState()
|
||||
for window in NSApp.windows {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue