private void CloseSocket(Socket socket) { SocketManager.CloseSocket(socket); NetworkingStatisticsGroup.OnClosedGatewayDuplexSocket(); if (Interlocked.Decrement(ref this.connectedCount) == 0) { MsgCenter.OnGatewayConnectionClosed(); } }
private void CloseSocket(Socket socket) { SocketManager.CloseSocket(socket); NetworkingStatisticsGroup.OnClosedGatewayDuplexSocket(); MsgCenter.OnGatewayConnectionClosed(); }