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