We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a78fab8 commit 0928451Copy full SHA for 0928451
1 file changed
Cyaim.WebSocketServer/Cyaim.WebSocketServer/Infrastructure/WebSocketManager.cs
@@ -102,6 +102,7 @@ private static async Task ListenSendChannel()
102
103
while (sendChannel.Reader.TryRead(out SendItem item))
104
{
105
+ if (item == null || item.Sockets == null || item.Sockets.Count < 1) continue;
106
try
107
108
await SendItemInBatchesAsync(item);
0 commit comments