[Modify] Polish it

This commit is contained in:
sta 2021-04-20 19:50:42 +09:00
parent 9bf82164e0
commit bcca8fe1b7

View File

@ -809,7 +809,8 @@ namespace WebSocketSharp.Net
cleanupContextQueue (true);
cleanupContextRegistry ();
var ex = new HttpListenerException (995, "The listener is stopped.");
var msg = "The listener is stopped.";
var ex = new HttpListenerException (995, msg);
cleanupWaitQueue (ex);
_listening = false;