We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc2cb6 commit cc67f5eCopy full SHA for cc67f5e
src/lib/before-shutdown.ts
@@ -26,7 +26,7 @@ export type BeforeShutdownListener = (signalOrEvent: string) => Promise<void>|vo
26
*
27
* SIGINT, a.k.a Ctrl + C, and SIGTERM by default
28
*/
29
-export const SHUTDOWN_SIGNALS = ['SIGINT', 'SIGTERM'];
+export const SHUTDOWN_SIGNALS = ['SIGINT', 'SIGTERM', 'exit'];
30
31
/**
32
* Time in milliseconds to wait before forcing shutdown.
0 commit comments