mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-06-04 23:46:38 +00:00
Fix udp listener write back
This commit is contained in:
parent
5b92eeb3bf
commit
5c6eb89cfb
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue