mirror of
https://github.com/netbirdio/ice.git
synced 2026-05-22 17:10:58 -07:00
Clean up packet queue in udpMuxedConn Close
This commit is contained in:
@@ -144,6 +144,8 @@ func (c *udpMuxedConn) Close() error {
|
||||
|
||||
pkt = next
|
||||
}
|
||||
c.bufHead = nil
|
||||
c.bufTail = nil
|
||||
|
||||
c.state = udpMuxedConnClosed
|
||||
close(c.closedChan)
|
||||
|
||||
Reference in New Issue
Block a user