Commit 57c6600
committed
Abandon timer coroutine handles during shutdown to avoid stack overflow
Same pattern as the IOCP shutdown fix (a397ea4): replace h_.destroy()
with h_ = {} to abandon the coroutine handle instead of destroying it.
Destroying timer waiter coroutines during shutdown can trigger re-entrant
destruction through circular frame ownership.1 parent 3a29bea commit 57c6600
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
0 commit comments