pvAccess client Monitor::start() duplicate call
This commit is contained in:
1 parent
63dda201a9
commit
2f56db0dff
1 file changed
+3
-1
@@ -2452,11 +2452,13 @@ namespace epics {
|
||||
);
|
||||
m_monitorStrategy->init(structure);
|
||||
|
||||
bool restoreStartedState = m_started;
|
||||
|
||||
// notify
|
||||
Monitor::shared_pointer thisChannelMonitor = dynamic_pointer_cast<Monitor>(shared_from_this());
|
||||
EXCEPTION_GUARD(m_monitorRequester->monitorConnect(status, thisChannelMonitor, structure));
|
||||
|
||||
if (m_started)
|
||||
if (restoreStartedState)
|
||||
start();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user