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

This commit is contained in:
Dax
2026-06-09 11:46:02 -04:00
committed by GitHub
parent 960eacebcf
commit 37522185d3
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