Skip to content

Commit

Permalink
Remove not initialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o committed Nov 4, 2023
1 parent 93b4325 commit 0e78745
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WebSocket/WebSocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public class WebSocketClient : IWebsocketClient

public WebSocketClient()
{
Cookies = Array.Empty<Cookie>();
Headers = new Headers();
_bufferList = new List<(byte[] buffer, BufferType bufferType)>();
_bufferLock = new object();
_tryConnecting = false;
Expand Down

0 comments on commit 0e78745

Please sign in to comment.