[Fix] Move them out

As a preventive move. See: issue #235
This commit is contained in:
sta 2016-04-02 11:39:34 +09:00
parent fdf1a18809
commit 40b74422a2

View File

@ -406,11 +406,11 @@ namespace WebSocketSharp.Net
lock (_ctxRegistrySync) {
if (!force)
sendServiceUnavailable ();
cleanupContextRegistry ();
cleanupConnections ();
cleanupWaitQueue ();
}
cleanupContextRegistry ();
cleanupConnections ();
cleanupWaitQueue ();
}
private void cleanupConnections ()