File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2525#define __VERSION_H
2626
2727#define STTP_TITLE "STTP C++ Library"
28- #define STTP_VERSION "1.0.11 "
29- #define STTP_UPDATEDON "2019-07-04 "
28+ #define STTP_VERSION "1.0.12 "
29+ #define STTP_UPDATEDON "2019-07-08 "
3030
3131#endif
Original file line number Diff line number Diff line change @@ -1256,7 +1256,10 @@ void DataSubscriber::Disconnect(bool autoReconnecting)
12561256{
12571257 // Let any pending connect operation complete before disconnect - prevents destruction disconnect before connection is completed
12581258 if (!autoReconnecting)
1259+ {
1260+ m_connector.Cancel ();
12591261 m_connectActionMutex.lock ();
1262+ }
12601263
12611264 ErrorCode error;
12621265
@@ -1298,7 +1301,6 @@ void DataSubscriber::Disconnect(bool autoReconnecting)
12981301 }
12991302 else
13001303 {
1301- m_connector.Cancel ();
13021304 m_commandChannelService.stop ();
13031305 }
13041306
You can’t perform that action at this time.
0 commit comments