[Modify] Remove it

This commit is contained in:
sta 2016-04-16 15:55:19 +09:00
parent e9b92baec2
commit f41fbd6dcb

View File

@ -631,12 +631,6 @@ namespace WebSocketSharp.Net
{
lock (_ctxRegistrySync)
_ctxRegistry.Remove (context);
lock (_ctxQueueSync) {
var idx = _ctxQueue.IndexOf (context);
if (idx >= 0)
_ctxQueue.RemoveAt (idx);
}
}
#endregion