fix(desktop): keep window tabs across app close (#34807)

This commit is contained in:
Luke Parker
2026-07-01 23:23:11 +00:00
committed by GitHub
parent 3df5556223
commit f266e829cf
6 changed files with 192 additions and 41 deletions
+2
View File
@@ -159,6 +159,7 @@ const main = Effect.gen(function* () {
wslServers.stopAll()
}
const relaunch = () => {
setAppQuitting()
void stopSidecars().finally(() => {
app.relaunch()
app.exit(0)
@@ -234,6 +235,7 @@ const main = Effect.gen(function* () {
for (const signal of ["SIGINT", "SIGTERM"] as const) {
process.on(signal, () => {
setAppQuitting()
void stopSidecars().finally(() => app.exit(0))
})
}