Skip to content

Commit

Permalink
fix: add missing early return (#21282)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and MarshallOfSound committed Nov 25, 2019
1 parent 88c1f2c commit bb9e68b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb9e68b

Please sign in to comment.