You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove deadlock in multiPacketListener (#211)
* fix: remove deadlock in `multiPacketListener`.
* fix test error
* Move reading from the `PacketConn` outside the `select`.
* Revert "fix test error"
This reverts commit 552a1e6.
* Do not set `m.pc` to nil.
* Move buffer down.
* Undo vpc creation.
* Add mutex back to protect against concurrent `Close()` calls.
* Move return when connection is closed down.
* Do not close the `readCh` or exit on a closed PacketConn.
0 commit comments