[Modify] Polish it
This commit is contained in:
parent
caa0fb541d
commit
1d705aa052
@ -469,7 +469,6 @@ namespace WebSocketSharp.Net
|
|||||||
if (cnt == 0)
|
if (cnt == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Need to copy this since closing will call the UnregisterContext method.
|
|
||||||
ctxs = new HttpListenerContext[cnt];
|
ctxs = new HttpListenerContext[cnt];
|
||||||
_contextRegistry.CopyTo (ctxs, 0);
|
_contextRegistry.CopyTo (ctxs, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user