From 92e27051e9d9d3cb5ecf22a12091d5f34e1ed8ad Mon Sep 17 00:00:00 2001 From: Pavel Savara Date: Fri, 2 Jul 2021 17:51:21 +0200 Subject: [PATCH] Update src/libraries/System.Net.WebSockets.Client/src/System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs Co-authored-by: campersau --- .../System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Net.WebSockets.Client/src/System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs b/src/libraries/System.Net.WebSockets.Client/src/System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs index 3cf8acb804b90..b052020b11e0f 100644 --- a/src/libraries/System.Net.WebSockets.Client/src/System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs +++ b/src/libraries/System.Net.WebSockets.Client/src/System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs @@ -580,7 +580,7 @@ private Task CloseAsyncCore(WebSocketCloseStatus closeStatus, string? statusDesc } else { - _closeStatus =3; // (CLOSED) + _closeStatus = 3; // (CLOSED) } return _tcsClose.Task;