Possible error in HubConnection._connectionClosed
rho-cassiopeiae opened this issue · 0 comments
rho-cassiopeiae commented
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.