[Modify] Replace it
This commit is contained in:
parent
c11fc49d51
commit
03622c3066
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user