[Modify] Remove it

This commit is contained in:
sta 2021-05-25 15:58:53 +09:00
parent 5f7986a0a1
commit 4373798c8c

View File

@ -647,26 +647,6 @@ namespace WebSocketSharp.Net
return true;
}
internal HttpListenerAsyncResult BeginGetContext (
HttpListenerAsyncResult asyncResult
)
{
lock (_contextRegistrySync) {
if (!_listening)
throw new HttpListenerException (995);
if (_contextQueue.Count == 0) {
_waitQueue.Enqueue (asyncResult);
}
else {
var ctx = _contextQueue.Dequeue ();
asyncResult.Complete (ctx, true);
}
return asyncResult;
}
}
internal void CheckDisposed ()
{
if (_disposed)