From 8f957b8f90a4faa6afcb299127d320e1eb538c25 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 15 Mar 2026 00:52:28 +0100 Subject: [PATCH] remove sighup exit (#17254) --- packages/opencode/src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/opencode/src/index.ts b/packages/opencode/src/index.ts index fe7fd63ef..b3d1db7eb 100644 --- a/packages/opencode/src/index.ts +++ b/packages/opencode/src/index.ts @@ -47,11 +47,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")