[Modify] Replace it

This commit is contained in:
sta 2017-03-07 16:06:54 +09:00
parent c11fc49d51
commit 03622c3066

View File

@ -1106,13 +1106,7 @@ namespace WebSocketSharp.Server
/// </param> /// </param>
public bool RemoveWebSocketService (string path) public bool RemoveWebSocketService (string path)
{ {
string msg; return _services.RemoveService (path);
if (!checkServicePath (path, out msg)) {
_log.Error (msg);
return false;
}
return _services.Remove (path);
} }
/// <summary> /// <summary>