remove unneeded change

This commit is contained in:
Simon Knott 2024-12-30 09:18:23 +01:00
parent 1361b4b495
commit 50305cc235
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -226,7 +226,7 @@ export async function launchProcess(options: LaunchProcessOptions): Promise<Laun
killSet.delete(killProcessAndCleanup); killSet.delete(killProcessAndCleanup);
removeProcessHandlersIfNeeded(); removeProcessHandlersIfNeeded();
options.log(`[pid=${spawnedProcess.pid}] <kill>`); options.log(`[pid=${spawnedProcess.pid}] <kill>`);
if (spawnedProcess.pid && !processClosed) { if (spawnedProcess.pid && !spawnedProcess.killed && !processClosed) {
options.log(`[pid=${spawnedProcess.pid}] <will force kill>`); options.log(`[pid=${spawnedProcess.pid}] <will force kill>`);
// Force kill the browser. // Force kill the browser.
try { try {