diff --git a/packages/core/src/Node.ts b/packages/core/src/Node.ts index ddfc2ffad..0e5a6508f 100644 --- a/packages/core/src/Node.ts +++ b/packages/core/src/Node.ts @@ -32,16 +32,12 @@ import { staticFiles } from "./Platform.js" const EFFECT_HANDLER = Symbol.for("@typed/core/Node/EffectHandler") const EFFECT_UPGRADE_HANDLER_TYPEID = Symbol.for("@typed/core/Node/EffectUpgradeHandler") -const ALL_PROCESS_INTERRUPTS = [ +const PROCESSABLE_INTERRUPTS = [ "SIGINT", "SIGTERM", "SIGQUIT", "SIGHUP", "SIGBREAK", - "SIGUSR1", - "SIGUSR2", - "SIGKILL", - "SIGSTOP", "SIGTSTP", "SIGTTIN", "SIGTTOU" @@ -304,7 +300,7 @@ export const run = ( fiber.unsafeInterruptAsFork(fiber.id()) } - ALL_PROCESS_INTERRUPTS.forEach((signal) => process.once(signal, onDispose)) + PROCESSABLE_INTERRUPTS.forEach((signal) => process.once(signal, onDispose)) if (import.meta.hot) { import.meta.hot.dispose(onDispose)