release udpConn

This commit is contained in:
Liu-WeiHu
2024-05-29 15:55:33 +08:00
parent fae4b7b71a
commit a2b5cde829

View File

@@ -167,6 +167,7 @@ func (t *UDPTracer) send(ttl int) error {
}
srcIP, srcPort, udpConn := t.getUDPConn(0)
defer udpConn.Close()
var payload []byte
if t.Quic {