avoid destroy() w/ lock
This commit is contained in:
@@ -2043,12 +2043,13 @@ void ServerMonitorRequesterImpl::destroy()
|
||||
// asCheck
|
||||
_channel->getChannelSecuritySession()->release(_ioid);
|
||||
|
||||
if (_channelMonitor)
|
||||
{
|
||||
_channelMonitor->destroy();
|
||||
if (_channelMonitor) {
|
||||
_channelMonitor.reset();
|
||||
}
|
||||
}
|
||||
if(monitor) {
|
||||
monitor->destroy();
|
||||
}
|
||||
}
|
||||
|
||||
Monitor::shared_pointer ServerMonitorRequesterImpl::getChannelMonitor()
|
||||
|
||||
Reference in New Issue
Block a user