[Modify] Remove it
This commit is contained in:
parent
e9b92baec2
commit
f41fbd6dcb
@ -631,12 +631,6 @@ namespace WebSocketSharp.Net
|
|||||||
{
|
{
|
||||||
lock (_ctxRegistrySync)
|
lock (_ctxRegistrySync)
|
||||||
_ctxRegistry.Remove (context);
|
_ctxRegistry.Remove (context);
|
||||||
|
|
||||||
lock (_ctxQueueSync) {
|
|
||||||
var idx = _ctxQueue.IndexOf (context);
|
|
||||||
if (idx >= 0)
|
|
||||||
_ctxQueue.RemoveAt (idx);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user