This commit is contained in:
Michael Davidsaver
2018-02-21 11:19:58 -08:00
parent b5bf6a4ccd
commit 909cef9200
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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);