Skip to content

Commit f100c5e

Browse files
Updated data publisher to be restartable after a call to stop
1 parent 6449e91 commit f100c5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/transport/DataPublisher.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,8 @@ void DataPublisher::Start(const TcpEndPoint& endpoint)
849849
// Let any pending start operation complete before possible stop - prevents destruction stop before start is completed
850850
ScopeLock lock(m_connectActionMutex);
851851

852+
m_stopped = false;
853+
852854
#if BOOST_LEGACY
853855
m_commandChannelService.reset();
854856
#else

0 commit comments

Comments
 (0)