You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using .NET SignalR Client. After connection breaks I invoke await connection.StopAsync() and then await connection.StartAsync(). StartAsync throws InvalidOperationException: "The HubConnection cannot be started while StopAsync is running". The super easy way to reproduce it is to create a connection, invoke await connection.StopAsync() and then await connection.StartAsync(). After that the connection can never be started.
It looks like a bug. I looked at the code and it seems that StopAsyncCore cancels the cts, but never directly recreates it.