fix(run): a run takes what is left below it down on its way out
Its subreaper status makes a daemon a git call started its child; at exit it goes, as freeze's do. Never a process the run did not start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2dd73b59bd
commit
7eccfd3b45
1 changed files with 3 additions and 0 deletions
|
|
@ -2187,6 +2187,9 @@ namespace Crafter::Review::Run {
|
||||||
watcher.request_stop();
|
watcher.request_stop();
|
||||||
watcher.join();
|
watcher.join();
|
||||||
Current = nullptr;
|
Current = nullptr;
|
||||||
|
// Whatever is left below this subreaper - a daemon a git call
|
||||||
|
// started - goes with it; never a process it did not start.
|
||||||
|
Process::KillDescendants();
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue