[Modify] Polish it

master
sta 8 years ago
parent 0cb310e0aa
commit cd0227e845

@ -149,11 +149,12 @@ namespace WebSocketSharp.Server
/// </value> /// </value>
public IEnumerable<string> InactiveIDs { public IEnumerable<string> InactiveIDs {
get { get {
foreach (var res in Broadping (WebSocketFrame.EmptyPingBytes, _waitTime)) foreach (var res in broadping (WebSocketFrame.EmptyPingBytes)) {
if (!res.Value) if (!res.Value)
yield return res.Key; yield return res.Key;
} }
} }
}
/// <summary> /// <summary>
/// Gets the session instance with <paramref name="id"/>. /// Gets the session instance with <paramref name="id"/>.

Loading…
Cancel
Save