Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
bfops authored and lcodes committed Oct 30, 2024
1 parent b401626 commit 3760dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ await Ws.CloseAsync(WebSocketCloseStatus.NormalClosure, string.Empty,
}
if (OnClose != null)
{
switch (receiveResult.CloseStatus) {
switch (receiveResult.CloseStatus)
{
case WebSocketCloseStatus.NormalClosure:
dispatchQueue.Enqueue(() => OnClose(null));
break;
Expand Down

0 comments on commit 3760dbc

Please sign in to comment.