[Modify] Remove it
This commit is contained in:
parent
7ae38b5494
commit
f05c916ac3
@ -546,19 +546,6 @@ namespace WebSocketSharp.Net
|
|||||||
ctx.Connection.Close (true);
|
ctx.Connection.Close (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cleanupWaitQueue (Exception exception)
|
|
||||||
{
|
|
||||||
if (_waitQueue.Count == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
var aress = _waitQueue.ToArray ();
|
|
||||||
|
|
||||||
_waitQueue.Clear ();
|
|
||||||
|
|
||||||
foreach (var ares in aress)
|
|
||||||
ares.Complete (exception);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void cleanupWaitQueue (string message)
|
private void cleanupWaitQueue (string message)
|
||||||
{
|
{
|
||||||
if (_waitQueue.Count == 0)
|
if (_waitQueue.Count == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user