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 ef3d3d7 commit 926d531Copy full SHA for 926d531
src/cleanup.ts
@@ -23,7 +23,7 @@ export function removeCleanupListener(listener: CleanupListener): boolean {
23
24
/** Executes all cleanup listeners and then exits the process. Call this instead of `process.exit` to ensure all listeners are fully executed. */
25
export async function exitAfterCleanup(code = 0): Promise<never> {
26
- await executeCleanupListeners(code);
+ await executeCleanupListeners();
27
process.exit(code);
28
}
29
0 commit comments