File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
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.10 "
29- #define STTP_UPDATEDON "2019-07-03 "
28+ #define STTP_VERSION "1.0.11 "
29+ #define STTP_UPDATEDON "2019-07-04 "
3030
3131#endif
Original file line number Diff line number Diff line change @@ -290,6 +290,7 @@ void SubscriberConnector::SetConnectionRefused(bool connectionRefused)
290290void SubscriberConnector::ResetConnection ()
291291{
292292 m_connectAttempt = 0 ;
293+ m_cancel = false ;
293294}
294295
295296// Gets the hostname of the publisher to connect to.
Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ void SubscriberInstance::ConnectAsync()
156156void SubscriberInstance::Connect ()
157157{
158158 SubscriberConnector& connector = m_subscriber->GetSubscriberConnector ();
159+ connector.ResetConnection ();
159160
160161 // Set up helper objects (derived classes can override behavior and settings)
161162 SetupSubscriberConnector (connector);
You can’t perform that action at this time.
0 commit comments