Repository navigation
Commit 69780bd
Keep killing captured jobs after the driver exits
peek_kill_tree() returned as soon as the xargs driver was gone, so a
job that ignored the signal kept running after the display exited.
It now waits on every PID it captured before signalling, and sends
SIGKILL to those still alive after two seconds. The list is not
rebuilt from ps, as jobs that outlive the driver are reparented.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5n8EwiVkC4y4eEWszr1 parent 2a4f6b5 commit 69780bd
1 file changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
534 | | - | |
| 533 | + | |
| 534 | + | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
538 | 559 | | |
539 | | - | |
540 | | - | |
| 560 | + | |
541 | 561 | | |
542 | 562 | | |
543 | 563 | | |
544 | 564 | | |
545 | | - | |
| 565 | + | |
546 | 566 | | |
547 | 567 | | |
548 | 568 | | |
| |||
0 commit comments