diff --git a/src/features/background-agent/process-cleanup.ts b/src/features/background-agent/process-cleanup.ts index 0008509e3..3e2fd0c31 100644 --- a/src/features/background-agent/process-cleanup.ts +++ b/src/features/background-agent/process-cleanup.ts @@ -65,7 +65,7 @@ function registerProcessSignal( const listener = () => { const cleanupResult = handler() if (exitAfter) { - scheduleForcedExit(cleanupResult, 0) + scheduleForcedExit(cleanupResult, 0, true) } } process.on(signal, listener)