diff --git a/websocket-sharp/Server/WebSocketServiceManager.cs b/websocket-sharp/Server/WebSocketServiceManager.cs index 374e4c71..c5299873 100644 --- a/websocket-sharp/Server/WebSocketServiceManager.cs +++ b/websocket-sharp/Server/WebSocketServiceManager.cs @@ -380,24 +380,6 @@ namespace WebSocketSharp.Server return _hosts.TryGetValue (path, out host); } - internal bool Remove (string path) - { - path = HttpUtility.UrlDecode (path).TrimSlashFromEnd (); - - WebSocketServiceHost host; - lock (_sync) { - if (!_hosts.TryGetValue (path, out host)) - return false; - - _hosts.Remove (path); - } - - if (host.State == ServerState.Start) - host.Stop (1001, String.Empty); - - return true; - } - internal void Start () { lock (_sync) {