[Modify] Replace it

This commit is contained in:
sta 2017-06-06 17:19:46 +09:00
parent 1d84914e46
commit 097987e3a0

View File

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