minor
This commit is contained in:
@ -175,6 +175,8 @@ struct MonTracker : public pvac::ClientChannel::MonitorCallback,
|
||||
if(n==2) {
|
||||
// too many updates, re-queue to balance with others
|
||||
monwork.push(shared_from_this(), evt);
|
||||
} else if(n==0) {
|
||||
std::cerr<<"Spurious Data event "<<name<<"\n";
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -2035,7 +2035,7 @@ void ServerMonitorRequesterImpl::destroy()
|
||||
|
||||
// hold a reference to channelMonitor so that _channelMonitor.reset()
|
||||
// does not call ~Monitor (external code) while we are holding a lock
|
||||
Monitor::shared_pointer monitor = _channelMonitor;
|
||||
Monitor::shared_pointer monitor(_channelMonitor);
|
||||
{
|
||||
Lock guard(_mutex);
|
||||
_channel->unregisterRequest(_ioid);
|
||||
|
Reference in New Issue
Block a user