Skip to content

Commit

Permalink
SharedPV fix onFirstConnect() on monitor creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Oct 8, 2018
1 parent 9ca7487 commit 731767b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/server/sharedstate_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,10 @@ pva::Monitor::shared_pointer SharedChannel::createMonitor(
requester->monitorConnect(sts, pvd::MonitorPtr(), pvd::StructureConstPtr());
ret.reset();

} else if(notify) {
ret->notify();

} else {
if(notify) {
ret->notify();
}
if(handler) {
handler->onFirstConnect(owner);
}
Expand Down

0 comments on commit 731767b

Please sign in to comment.