When userA enters roomB and then closes their browser without leaving roomB or logging out, other users in the room still view userA as in the room and as online. The ChatRoomUsers object is also never cleared from the database so, although SignalR knows that the user's connection has closed, the room still thinks that the user is in it.
When userA enters roomB and then closes their browser without leaving roomB or logging out, other users in the room still view userA as in the room and as online. The ChatRoomUsers object is also never cleared from the database so, although SignalR knows that the user's connection has closed, the room still thinks that the user is in it.