refactor(tui): centralize application exit (#31524)

This commit is contained in:
Dax
2026-06-09 11:46:02 -04:00
committed by GitHub
parent 900aba1291
commit f6f849b34c
32 changed files with 176 additions and 1217 deletions
+1 -1
View File
@@ -213,12 +213,12 @@ export const TuiThreadCommand = cmd({
} finally {
await stop()
}
process.exit(0)
} finally {
try {
unguard?.()
} catch {}
}
process.exit(0)
},
})
// scratch