Skip to content

Commit 47bcf13

Browse files
committed
fix: don't leave behind electron processes
1 parent 1e8debf commit 47bcf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function cleanup(signal: NodeJS.Signals) {
7676
console.log('\nstart | requested termination.');
7777
await timers.setTimeout(10_000);
7878
const stillRunning = subProcesses.filter((p) => p.exitCode === null);
79-
for (const p of stillRunning) p.kill('SIGKILL');
79+
for (const p of stillRunning) p.kill('SIGTERM');
8080
console.log('\nstart | done.');
8181
process.exit(0);
8282
}

0 commit comments

Comments
 (0)