[Modify] Replace it

This commit is contained in:
sta 2016-04-16 15:44:57 +09:00
parent 1b0fe2fd19
commit db34117862

View File

@ -480,10 +480,8 @@ namespace WebSocketSharp.Net
EndPointManager.RemoveListener (this); EndPointManager.RemoveListener (this);
} }
lock (_ctxRegistrySync) { lock (_ctxRegistrySync)
if (!force) cleanupContextQueue (!force);
sendServiceUnavailable ();
}
cleanupContextRegistry (); cleanupContextRegistry ();
cleanupConnections (); cleanupConnections ();