fix: add missing early return (#21264)
This commit is contained in:
parent
27c764c66c
commit
f26b7931eb
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ class CachedProxyLifeMonitor final : public ObjectLifeMonitor {
|
||||||
void RunDestructor() override {
|
void RunDestructor() override {
|
||||||
if (node_->detached) {
|
if (node_->detached) {
|
||||||
delete node_;
|
delete node_;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (node_->prev) {
|
if (node_->prev) {
|
||||||
node_->prev->next = node_->next;
|
node_->prev->next = node_->next;
|
||||||
|
|
Loading…
Reference in a new issue