Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed lost handle in GetterFun

  • Loading branch information...
commit 5461e1f35a96373cda6661890292b9a2be4e6266 1 parent 63e5c65
@yrashk yrashk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  c_src/erlv8_set.cc
View
2  c_src/erlv8_set.cc
@@ -215,7 +215,7 @@ v8::Handle<v8::Value> GetterFun(v8::Local<v8::String> property,const v8::Accesso
enif_make_copy(env, external_to_term(v8::Context::GetCurrent()->Global()->GetHiddenValue(v8::String::New("__erlv8__ctx__"))))
),
enif_make_copy(env,arglist)));
- return vm->ticker(ref);
+ return handle_scope.Close(vm->ticker(ref));
}
void SetterFun(v8::Local<v8::String> property,v8::Local<v8::Value> value,const v8::AccessorInfo &info) {
Please sign in to comment.
Something went wrong with that request. Please try again.