Skip to content

Commit a73ac65

Browse files
committed
fix(tui): revert "fix(core): handle SIGHUP and kill process (#16057)"
This reverts commit 45ac20b.
1 parent 366b8a8 commit a73ac65

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/opencode/src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ process.on("uncaughtException", (e) => {
4646
})
4747
})
4848

49-
// Ensure the process exits on terminal hangup (eg. closing the terminal tab).
50-
// Without this, long-running commands like `serve` block on a never-resolving
51-
// promise and survive as orphaned processes.
52-
process.on("SIGHUP", () => process.exit())
53-
5449
let cli = yargs(hideBin(process.argv))
5550
.parserConfiguration({ "populate--": true })
5651
.scriptName("opencode")

0 commit comments

Comments
 (0)