[Modify] Replace it
This commit is contained in:
parent
fe86f95d5e
commit
e14fc1b531
@ -834,7 +834,14 @@ namespace WebSocketSharp.Net
|
||||
return;
|
||||
|
||||
_listening = false;
|
||||
close (false);
|
||||
|
||||
EndPointManager.RemoveListener (this);
|
||||
lock (_ctxRegistrySync)
|
||||
sendServiceUnavailable ();
|
||||
|
||||
cleanupContextRegistry ();
|
||||
cleanupConnections ();
|
||||
cleanupWaitQueue (new HttpListenerException (995, "The listener is stopped."));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user