[Modify] Replace it
This commit is contained in:
parent
1d84914e46
commit
097987e3a0
@ -1178,13 +1178,7 @@ namespace WebSocketSharp.Server
|
|||||||
/// </param>
|
/// </param>
|
||||||
public bool RemoveWebSocketService (string path)
|
public bool RemoveWebSocketService (string path)
|
||||||
{
|
{
|
||||||
var msg = path.CheckIfValidServicePath ();
|
return _services.RemoveService (path);
|
||||||
if (msg != null) {
|
|
||||||
_log.Error (msg);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return _services.Remove (path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user