[Modify] Polish it
This commit is contained in:
parent
0cb310e0aa
commit
cd0227e845
@ -149,11 +149,12 @@ namespace WebSocketSharp.Server
|
||||
/// </value>
|
||||
public IEnumerable<string> InactiveIDs {
|
||||
get {
|
||||
foreach (var res in Broadping (WebSocketFrame.EmptyPingBytes, _waitTime))
|
||||
foreach (var res in broadping (WebSocketFrame.EmptyPingBytes)) {
|
||||
if (!res.Value)
|
||||
yield return res.Key;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the session instance with <paramref name="id"/>.
|
||||
|
Loading…
Reference in New Issue
Block a user