Repository navigation
Commit 6bd03ac
Stop receiving when a UDPTransport handle is closed directly
UDPTransport keeps a reference to itself while receiving, which was
only dropped by _stop_reading(). loop.close() closes leftover handles
with _close(), so a UDP transport still open at that point was never
freed. Stop reading in _close(), as UVStream does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent fd02ac3 commit 6bd03ac
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
174 | 182 | | |
175 | 183 | | |
176 | 184 | | |
| |||
0 commit comments