aspnet / SignalR-samples

Samples for ASP.NET Core SignalR
753 stars 398 forks source link

Signalr group keeps awaiting if client closes app. #97

Open vinaykapoor opened 4 years ago

vinaykapoor commented 4 years ago

I have a signalr implementation of a server which allows users to connect to multiple groups. I am using the WPF .NET signalr client to connect and have noticed, very regularly, that if the client closes the application abruptly, with invoking disconnect, the server signalr group keeps waiting on rude send method. This can be replicated easily by creating a high throughout server using Groups and the call hangs on await _hunContext.Clients.Group(groups).SendMsg(msg). I will appreciate any help since I haven’t noticed any samples which utilizes groups.