/// <summary> /// 删除TCP调用客户端 /// </summary> /// <param name="commandClient">TCP调用客户端</param> internal void Remove(commandClient commandClient) { services services = commandClient.TcpRegisterServices; if (services != null) { commandClient.TcpRegisterServices = null; Monitor.Enter(servicesLock); services.RemoveClient(commandClient); Monitor.Exit(servicesLock); } }