[Modify] Polish it
This commit is contained in:
parent
078ca38763
commit
406087acea
@ -819,11 +819,13 @@ namespace WebSocketSharp.Server
|
||||
|
||||
if (_state == ServerState.Start) {
|
||||
message = "The server has already started.";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_state == ServerState.ShuttingDown) {
|
||||
message = "The server is shutting down.";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user