mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 15:11:53 +00:00
Remove leaked temp_context allocation
This commit is contained in:
parent
4de01ce1cf
commit
6106f46d4c
2
v8js.cc
2
v8js.cc
@ -231,8 +231,6 @@ static HashTable *php_v8js_v8_get_properties(zval *object TSRMLS_DC) /* {{{ */
|
||||
v8::Locker locker(obj->isolate);
|
||||
v8::Isolate::Scope isolate_scope(obj->isolate);
|
||||
v8::HandleScope local_scope(obj->isolate);
|
||||
v8::Handle<v8::Context> temp_context = v8::Context::New();
|
||||
v8::Context::Scope temp_scope(temp_context);
|
||||
|
||||
if (php_v8js_v8_get_properties_hash(obj->v8obj, retval, obj->flags, obj->isolate TSRMLS_CC) == SUCCESS) {
|
||||
return retval;
|
||||
|
Loading…
Reference in New Issue
Block a user