public void Clear() { listener.CheckDisposed(); prefixes.Clear(); if (listener.IsListening) { EndPointManager.RemoveListener(listener); } }
void Close(bool force) { CheckDisposed(); EndPointManager.RemoveListener(this); Cleanup(force); }
public void Clear() { listener.CheckDisposed(); prefixes.Clear(); if (listener.IsListening) { EndPointManager.RemoveListener(listener); } }
void Close(bool force) { CheckDisposed(); EndPointManager.RemoveListener(this); Cleanup(force); }