[Fix] Move them out

As a preventive move. See: issue #235
master
sta 10 years ago
parent fdf1a18809
commit 40b74422a2

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

Loading…
Cancel
Save