fix(e2e): reap exited gateway process groups

This commit is contained in:
Vincent Koc
2026-06-20 09:19:59 +02:00
parent 00c2dc66b1
commit 4e7a717868
2 changed files with 84 additions and 1 deletions

View File

@@ -813,7 +813,7 @@ function waitForOutput(
}
function killTree(child: ChildProcess | undefined) {
if (!child || child.killed || child.exitCode !== null) {
if (!child) {
return;
}
if (!child.pid) {