[Modify] Replace it

This commit is contained in:
sta 2021-05-30 21:28:01 +09:00
parent 097565ce3b
commit 7ae38b5494

View File

@ -958,8 +958,7 @@ namespace WebSocketSharp.Net
cleanupContextRegistry (); cleanupContextRegistry ();
var msg = "The listener is stopped."; var msg = "The listener is stopped.";
var ex = new HttpListenerException (995, msg); cleanupWaitQueue (msg);
cleanupWaitQueue (ex);
EndPointManager.RemoveListener (this); EndPointManager.RemoveListener (this);
} }