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