[Modify] Replace it

This commit is contained in:
sta 2021-05-30 21:26:47 +09:00
parent fa0880b1d0
commit 097565ce3b

View File

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