public void RemoveTopicSubscriber(string topic, string name) { TopicSubscribers entry = FindTopic(topic); if (entry != null) { entry.RemoveSubscriber(name); if (!entry.HasSubscribers()) { topicSubscribers.Remove(entry); } } }
public void RemoveTopicSubscriber(string topic, string name) { TopicSubscribers entry = FindTopic(topic); if (entry != null) { entry.RemoveSubscriber(name); if (!entry.HasSubscribers()) { topicSubscribers.Remove(entry); } } }