Commit 01d5451
fix: clear awaitingFinalEvent flag on queue when timeout reached
The timeout logic was setting a local variable to false, but the next
iteration would read true again from queue.isAwaitingFinalEvent(),
causing the grace period to never start. Added clearAwaitingFinalEvent()
method to ChildQueue to properly clear the flag on the queue itself.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6f7cba2 commit 01d5451
2 files changed
Lines changed: 14 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
823 | 832 | | |
824 | 833 | | |
825 | 834 | | |
| |||
0 commit comments