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

View file

@ -85,7 +85,8 @@ bool RefCounted::unreference() {
_get_extension()->unreference(_get_extension_instance()); _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; return die;