remove unused arg

This commit is contained in:
Simon Knott 2024-11-07 13:20:56 +01:00
parent 5bf5fcf61d
commit 5b576ab304
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -215,7 +215,7 @@ export async function launchProcess(options: LaunchProcessOptions): Promise<Laun
}
gracefullyClosing = true;
options.log(`[pid=${spawnedProcess.pid}] <gracefully close start>`);
await options.attemptToGracefullyClose().catch((e) => killProcess());
await options.attemptToGracefullyClose().catch(() => killProcess());
await waitForCleanup; // Ensure the process is dead and we have cleaned up.
options.log(`[pid=${spawnedProcess.pid}] <gracefully close end>`);
}