[Modify] Replace it
This commit is contained in:
@@ -572,7 +572,8 @@ namespace WebSocketSharp.Net
|
|||||||
cleanupContextQueue (force);
|
cleanupContextQueue (force);
|
||||||
cleanupContextRegistry ();
|
cleanupContextRegistry ();
|
||||||
|
|
||||||
var ex = new ObjectDisposedException (_objectName);
|
var msg = "The listener is closed.";
|
||||||
|
var ex = new HttpListenerException (995, msg);
|
||||||
cleanupWaitQueue (ex);
|
cleanupWaitQueue (ex);
|
||||||
|
|
||||||
EndPointManager.RemoveListener (this);
|
EndPointManager.RemoveListener (this);
|
||||||
|
Reference in New Issue
Block a user