This commit is contained in:
ahmed committed 2024-10-23 18:49:23 +03:00
1 parent dc8a2c0b46
commit 62343d7761
8 files changed
+187 -20

No files matched your search

+1 -1
View File
@@ -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;