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
The registerCallbacks and the unregisterCallbacks methods always create a new function for the handlers, therefore the unregistration process will not work (because the comparison in the HubConnection's off method is reference-based).
The
registerCallbacks
and theunregisterCallbacks
methods always create a new function for the handlers, therefore the unregistration process will not work (because the comparison in theHubConnection
'soff
method is reference-based).https://github.com/dotnet/aspnetcore/blob/master/src/SignalR/clients/ts/signalr/src/HubConnection.ts#L460
Related PR: #22
The text was updated successfully, but these errors were encountered: