protected async Task ReleasePort(int port) { if (Sockets.TryGetValue(port, out ProxySocket socket)) { await Task.Run(socket.Dispose); AvailablePorts.Enqueue(port); } }
protected async Task ReleasePort(int port) { if (Sockets.TryGetValue(port, out ProxySocket socket)) { await Task.Run(socket.Dispose); AvailablePorts.Enqueue(port); } }