mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-16 13:32:59 -08:00
Release stream when conn ends
This commit is contained in:
1 parent
36bf645199
commit
18069d377c
1 file changed
+2
@@ -66,6 +66,8 @@ func (this *UDPServer) handleConnection(destString string, inboundRay ray.Inboun
|
||||
callback(source, data)
|
||||
}
|
||||
this.Lock()
|
||||
inboundRay.InboundInput().Release()
|
||||
inboundRay.InboundOutput().Release()
|
||||
delete(this.conns, destString)
|
||||
this.Unlock()
|
||||
}
|
||||
Reference in new issue
Block a user