SignalR/SignalR — Issue #42: Disconnect not invoked in a timely fashion 
Author: JustinBeckwith
Created: 2011-10-22 20:11:00+00:00
State: open

Not sure if this is something I'm doing wrong, or a bug. I have a hub that's implementing IDisconnect, but it doesn't seem to be invoked immediately after a client leaves the page. I have a demo page were each new client creates a new connection - every time I refresh the page, my client connection count goes up. I would expect the connection count to remain constant, as the previous client technically left the page. Here's a sample of my hub code:

https://github.com/JustinBeckwith/SignalRMap/blob/master/SignalRMap/MapHub.cs

and the demo (try hitting refresh a few times)

http://signalrmap.apphb.com/?random=true