aspnet / SignalR-samples

Samples for ASP.NET Core SignalR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Signalr group keeps awaiting if client closes app.

vinaykapoor opened this issue · comments

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.