pvAccess client Monitor::start() duplicate call
This commit is contained in:
@@ -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