fix(tui): revert "fix(core): handle SIGHUP and kill process (#16057)"

This reverts commit 45ac20b8aa.
pull/16776/head
James Long 2026-03-09 11:56:36 -04:00
parent 366b8a8034
commit a73ac650e9
1 changed files with 0 additions and 5 deletions

View File

@ -46,11 +46,6 @@ process.on("uncaughtException", (e) => {
})
})
// Ensure the process exits on terminal hangup (eg. closing the terminal tab).
// Without this, long-running commands like `serve` block on a never-resolving
// promise and survive as orphaned processes.
process.on("SIGHUP", () => process.exit())
let cli = yargs(hideBin(process.argv))
.parserConfiguration({ "populate--": true })
.scriptName("opencode")