Skip to content

Commit bcca8fe

Browse files
committed
[Modify] Polish it
1 parent 9bf8216 commit bcca8fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

websocket-sharp/Net/HttpListener.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,8 @@ public void Stop ()
809809
cleanupContextQueue (true);
810810
cleanupContextRegistry ();
811811

812-
var ex = new HttpListenerException (995, "The listener is stopped.");
812+
var msg = "The listener is stopped.";
813+
var ex = new HttpListenerException (995, msg);
813814
cleanupWaitQueue (ex);
814815

815816
_listening = false;

0 commit comments

Comments
 (0)