public void Disconnected(IReceiveContext context) { _channelLock.EnterWriteLock(); _channels.Remove(context.GetChannel()); _channelLock.ExitWriteLock(); }