Merge pull request #64302 from neikeq/unreference-callback-regr-from-44691448

Fix instance binding unreference callback regression
This commit is contained in:
Clay John 2022-08-18 14:53:31 -06:00 committed by GitHub
commit 6923076850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ bool RefCounted::unreference() {
_get_extension()->unreference(_get_extension_instance());
}
die = die && _instance_binding_reference(false);
bool binding_ret = _instance_binding_reference(false);
die = die && binding_ret;
}
return die;