[Modify] Polish it
This commit is contained in:
parent
9d0e93b3d4
commit
345c2f6495
@ -379,10 +379,12 @@ namespace WebSocketSharp.Server
|
||||
foreach (var session in Sessions) {
|
||||
if (_state != ServerState.Start) {
|
||||
_log.Error ("The service is shutting down.");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
var res = session.Context.WebSocket.Ping (frameAsBytes, _waitTime);
|
||||
|
||||
ret.Add (session.ID, res);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user