As a preventive move. See: issue #235
@ -406,12 +406,12 @@ namespace WebSocketSharp.Net
lock (_ctxRegistrySync) {
if (!force)
sendServiceUnavailable ();
}
cleanupContextRegistry ();
cleanupConnections ();
cleanupWaitQueue ();
private void cleanupConnections ()
{