[Modify] Remove it
This commit is contained in:
parent
2904c087a2
commit
a4c482ffde
@ -392,25 +392,6 @@ namespace WebSocketSharp.Server
|
||||
return _state == ServerState.Ready || _state == ServerState.Stop;
|
||||
}
|
||||
|
||||
private bool canSet (out string message)
|
||||
{
|
||||
message = null;
|
||||
|
||||
if (_state == ServerState.Start) {
|
||||
message = "The service has already started.";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_state == ServerState.ShuttingDown) {
|
||||
message = "The service is shutting down.";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private static string createID ()
|
||||
{
|
||||
return Guid.NewGuid ().ToString ("N");
|
||||
|
Loading…
Reference in New Issue
Block a user