mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
ASP.Net
This commit is contained in:
@ -227,7 +227,7 @@ namespace Esiur.Net.Sockets
|
||||
private void NetworkReceive(Task<WebSocketReceiveResult> task)
|
||||
{
|
||||
|
||||
if (sock.State == WebSocketState.Closed || sock.State == WebSocketState.Aborted)
|
||||
if (sock.State == WebSocketState.Closed || sock.State == WebSocketState.Aborted || sock.State == WebSocketState.CloseReceived)
|
||||
{
|
||||
Receiver?.NetworkClose(this);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user