signalr_client
signalr_client copied to clipboard
Possible error in HubConnection._connectionClosed
While browsing over the source code I've found this bit in HubConnection._connectionClosed method (line 692):
if (_connectionState == HubConnectionState.Disconnecting) {
_completeClose(error: error);
} else if (_connectionState == HubConnectionState.Connected) {
_reconnect(error: error);
} else if (_connectionState == HubConnectionState.Connected) {
_completeClose(error: error);
}
The last two if conditions are the same.