From 926d531863e3827eb6d6eca1ad39eb08166d0294 Mon Sep 17 00:00:00 2001 From: jacoobes Date: Mon, 3 Feb 2025 18:34:26 -0600 Subject: [PATCH] sdfds --- src/cleanup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cleanup.ts b/src/cleanup.ts index 5abb10c..6da640e 100644 --- a/src/cleanup.ts +++ b/src/cleanup.ts @@ -23,7 +23,7 @@ export function removeCleanupListener(listener: CleanupListener): boolean { /** Executes all cleanup listeners and then exits the process. Call this instead of `process.exit` to ensure all listeners are fully executed. */ export async function exitAfterCleanup(code = 0): Promise { - await executeCleanupListeners(code); + await executeCleanupListeners(); process.exit(code); }