mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
Remove early returns when children.len == 0 that were aborting the entire autokill sequence. Now treat empty slices as "nothing to do this pass" and continue to the next pass, allowing later passes to retry enumeration and send SIGSTOP/SIGKILL as intended. This fixes the case where enumeration failures (which return empty slices) would prevent subsequent passes from running, potentially leaving processes alive. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>