[Modify] Polish it
This commit is contained in:
parent
58dc23f1c1
commit
b0361e1867
@ -528,10 +528,7 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
private HttpListenerContext getContextFromQueue ()
|
private HttpListenerContext getContextFromQueue ()
|
||||||
{
|
{
|
||||||
if (_contextQueue.Count == 0)
|
return _contextQueue.Count > 0 ? _contextQueue.Dequeue () : null;
|
||||||
return null;
|
|
||||||
|
|
||||||
return _contextQueue.Dequeue ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user