avoid destroy() w/ lock
This commit is contained in:
1 parent
e9cc8298a6
commit
3b53e81f2f
1 file changed
+4
-3
@@ -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