Skip to content

Commit 7defb57

Browse files
committed
[Modify] Polish it
1 parent 98c41af commit 7defb57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

websocket-sharp/Server/WebSocketSessionManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,13 @@ private bool canSet (out string message)
405405

406406
if (_state == ServerState.Start) {
407407
message = "The service has already started.";
408+
408409
return false;
409410
}
410411

411412
if (_state == ServerState.ShuttingDown) {
412413
message = "The service is shutting down.";
414+
413415
return false;
414416
}
415417

0 commit comments

Comments
 (0)