Release stream when conn ends

pull/131/head v1.12.3
v2ray 2016-05-02 14:03:58 +02:00
parent 36bf645199
commit 18069d377c
1 changed files with 2 additions and 0 deletions

View File

@ -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()
}