[Modify] Add it

This commit is contained in:
sta 2016-04-15 14:43:58 +09:00
parent 9c86b79c91
commit 25f5cfb204

View File

@ -471,6 +471,19 @@ namespace WebSocketSharp.Net
_disposed = true;
}
private HttpListenerAsyncResult getAsyncResultFromQueue ()
{
lock (_waitQueueSync) {
if (_waitQueue.Count == 0)
return null;
var ares = _waitQueue[0];
_waitQueue.RemoveAt (0);
return ares;
}
}
private HttpListenerContext getContextFromQueue ()
{
lock (_ctxQueueSync) {