fix: add missing early return (#21264)

This commit is contained in:
loc 2019-11-25 11:03:54 -08:00 committed by Samuel Attard
parent 27c764c66c
commit f26b7931eb

View file

@ -40,6 +40,7 @@ class CachedProxyLifeMonitor final : public ObjectLifeMonitor {
void RunDestructor() override {
if (node_->detached) {
delete node_;
return;
}
if (node_->prev) {
node_->prev->next = node_->next;