mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-15 14:57:36 +08:00
Fix udp listener write back
This commit is contained in:
parent
5b92eeb3bf
commit
5c6eb89cfb
@ -164,9 +164,8 @@ func (l *Listener) loopUDPOut() {
|
||||
if l.shutdown.Load() && E.IsClosed(err) {
|
||||
return
|
||||
}
|
||||
l.udpConn.Close()
|
||||
l.logger.Error("udp listener write back: ", destination, ": ", err)
|
||||
return
|
||||
continue
|
||||
}
|
||||
continue
|
||||
case <-l.packetOutboundClosed:
|
||||
|
Loading…
x
Reference in New Issue
Block a user