We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6c4b4 commit 94d88ceCopy full SHA for 94d88ce
Common/Websocket/WebsockBaseController.cs
@@ -57,9 +57,9 @@ protected WebsocketBaseController(ILogger<WebsocketBaseController<T>> logger)
57
[NonAction]
58
public ValueTask QueueMessage(T data)
59
{
60
- if (WebSocket is null or { State: WebSocketState.Closed or WebSocketState.CloseSent })
+ if (WebSocket is null or { State: WebSocketState.Closed or WebSocketState.CloseSent or WebSocketState.Aborted })
61
62
- Logger.LogDebug("WebSocket is null or closed, not sending message");
+ Logger.LogDebug("WebSocket is null, abort or closed, not sending message");
63
return ValueTask.CompletedTask;
64
}
65
0 commit comments