[Modify] Remove it
This commit is contained in:
parent
1de175fb5c
commit
6689101848
@ -283,25 +283,6 @@ namespace WebSocketSharp.Server
|
|||||||
return _state == ServerState.Ready || _state == ServerState.Stop;
|
return _state == ServerState.Ready || _state == ServerState.Stop;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool canSet (out string message)
|
|
||||||
{
|
|
||||||
message = null;
|
|
||||||
|
|
||||||
if (_state == ServerState.Start) {
|
|
||||||
message = "The server has already started.";
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_state == ServerState.ShuttingDown) {
|
|
||||||
message = "The server is shutting down.";
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Internal Methods
|
#region Internal Methods
|
||||||
|
Loading…
Reference in New Issue
Block a user