Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/node-proxy.cc b/src/node-proxy.cc
- index 545ce0c..34ade71 100644
- --- a/src/node-proxy.cc
- +++ b/src/node-proxy.cc
- @@ -266,7 +266,7 @@ Handle<Value> NodeProxy::Create(const Arguments& args) {
- instance->SetPrototype(args[1]);
- }
- - return scope.Close(instance);
- + return instance;
- }
- /**
- @@ -321,7 +321,7 @@ Handle<Value> NodeProxy::CreateFunction(const Arguments& args) {
- fn->SetInternalField(0, proxyHandler);
- - return scope.Close(fn);
- + return fn;
- }
- /**
- @@ -1560,7 +1560,7 @@ void NodeProxy::Init(Handle<Object> target) {
- FunctionCreator = Persistent<ObjectTemplate>::New(instance) ;
- - scope.Close(Undefined());
- + Undefined();
- }
- } // end namespace
Add Comment
Please, Sign In to add comment