cleanup from dtor
Avoid unnecessary reset() of otherwise const shared_ptr in destroy() as this necessities locking for potentially concurrent access.
This commit is contained in:
@@ -176,7 +176,6 @@ MonitorUser::destroy()
|
||||
Guard G(entry->chan->cache->cacheLock);
|
||||
running = false;
|
||||
}
|
||||
req.reset();
|
||||
}
|
||||
|
||||
pvd::Status
|
||||
|
||||
Reference in New Issue
Block a user