Commit 2a8ff4c
fix: improve script restart behavior (#2194)
Prevents duplicate 'Stopping script' logs by early-returning when script
is not running. Restricts restart handling to the owning instance only.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 98cf9c3 commit 2a8ff4c
3 files changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
679 | | - | |
680 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
681 | 683 | | |
682 | 684 | | |
683 | 685 | | |
| |||
2601 | 2603 | | |
2602 | 2604 | | |
2603 | 2605 | | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
2604 | 2610 | | |
2605 | 2611 | | |
2606 | 2612 | | |
| |||
0 commit comments