v2ray 10 лет назад
Родитель
Сommit
557da0d9c7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      transport/hub/udp_server.go

+ 2 - 0
transport/hub/udp_server.go

@@ -66,6 +66,8 @@ func (this *UDPServer) handleConnection(destString string, inboundRay ray.Inboun
 		callback(source, data)
 		callback(source, data)
 	}
 	}
 	this.Lock()
 	this.Lock()
+	inboundRay.InboundInput().Release()
+	inboundRay.InboundOutput().Release()
 	delete(this.conns, destString)
 	delete(this.conns, destString)
 	this.Unlock()
 	this.Unlock()
 }
 }