Permalink
Browse files

add a couple probably unnecessary `scope.Close()` calls

  • Loading branch information...
TooTallNate committed May 31, 2012
1 parent 2934c8c commit 4c74cb29654ccc2e79a0e7727361f267a2d68718
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/binding.cc
View
@@ -298,7 +298,7 @@ Handle<Value> ReadInt64(const Arguments& args) {
rtn = Number::New(val);
}
- return rtn;
+ return scope.Close(rtn);
}
/*
@@ -374,7 +374,7 @@ Handle<Value> ReadUInt64(const Arguments& args) {
rtn = Number::New(val);
}
- return rtn;
+ return scope.Close(rtn);
}
/*

0 comments on commit 4c74cb2

Please sign in to comment.