Skip to content

Commit 926d531

Browse files
committed
sdfds
1 parent ef3d3d7 commit 926d531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cleanup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function removeCleanupListener(listener: CleanupListener): boolean {
2323

2424
/** Executes all cleanup listeners and then exits the process. Call this instead of `process.exit` to ensure all listeners are fully executed. */
2525
export async function exitAfterCleanup(code = 0): Promise<never> {
26-
await executeCleanupListeners(code);
26+
await executeCleanupListeners();
2727
process.exit(code);
2828
}
2929

0 commit comments

Comments
 (0)