0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 07:01:52 +00:00

Update v8js_v8object_class.cc

This commit is contained in:
waqasbelushi 2021-03-23 22:06:05 +05:00 committed by Stefan Siegl
parent e648f431ac
commit 6a7753a43a
No known key found for this signature in database
GPG Key ID: 73942AF5642F3DDA

View File

@ -129,7 +129,7 @@ static zval *v8js_v8object_read_property(zval *object, zval *member, int type, v
if (!obj->ctx) {
zend_throw_exception(php_ce_v8js_exception,
"Can't access V8Object after V8Js instance is destroyed!", 0);
return retval;
return SINCE74(object, retval);
}
V8JS_CTX_PROLOGUE_EX(obj->ctx, retval);