[Modify] Replace it
This commit is contained in:
parent
cc627534f8
commit
ea664163c4
@ -483,7 +483,15 @@ namespace WebSocketSharp.Net
|
||||
private void close (bool force)
|
||||
{
|
||||
EndPointManager.RemoveListener (this);
|
||||
cleanup (force);
|
||||
|
||||
lock (_ctxRegistrySync) {
|
||||
if (!force)
|
||||
sendServiceUnavailable ();
|
||||
}
|
||||
|
||||
cleanupContextRegistry ();
|
||||
cleanupConnections ();
|
||||
cleanupWaitQueue (new ObjectDisposedException (GetType ().ToString ()));
|
||||
}
|
||||
|
||||
private HttpListenerContext getContextFromQueue ()
|
||||
|
Loading…
Reference in New Issue
Block a user