File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,9 @@ protected override void OnInnerAdapterNewOutMessage(Message message)
107
107
{
108
108
if ( _connectingAttemptCount != 0 )
109
109
{
110
- if ( _currState == ConnectionStates . Connected )
111
- _prevState = _reConnecting ;
110
+ _prevState = _currState == ConnectionStates . Connected
111
+ ? _reConnecting
112
+ : ConnectionStates . Failed ;
112
113
113
114
_currState = _reConnecting ;
114
115
isReconnecting = true ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ StockSharp API Change log
3
3
## current:
4
4
* (feature) HeartbeatMessageAdapter.SuppressReconnectingErrors
5
5
* (bug) HeartbeatMessageAdapter. Infinitive reconnection attempts fix.
6
+ * (bug) HeartbeatMessageAdapter. Infinitive first connection attempts fix.
6
7
7
8
## v4.4.6.1:
8
9
* (bug) InteractiveBrokers. Fix historical ticks request.
You can’t perform that action at this time.
0 commit comments