tui: exit cleanly without hanging after session ends
- Force process exit after TUI thread completes to prevent lingering processes - Add 5-second timeout to worker shutdown to prevent indefinite hangs during cleanup
This commit is contained in:
@@ -184,5 +184,6 @@ export const TuiThreadCommand = cmd({
|
||||
} finally {
|
||||
unguard?.()
|
||||
}
|
||||
process.exit(0)
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user