[Pkg-javascript-commits] [node-leveldown] 361/492: persistent!
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.
commit c2c1a8e5cca183ad9fa133ce81ce2c34b9c46959
Author: Rod Vagg <rod at vagg.org>
Date: Sat Jun 29 17:33:55 2013 -0700
persistent!
---
src/database.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/database.cc b/src/database.cc
index 9eba91b..7a83ad6 100644
--- a/src/database.cc
+++ b/src/database.cc
@@ -599,7 +599,8 @@ v8::Handle<v8::Value> Database::Iterator (const v8::Arguments& args) {
// register our iterator
database->iterators[id] =
- node::ObjectWrap::Unwrap<leveldown::Iterator>(iterator)->handle_;
+ v8::Persistent<v8::Object>::New(
+ node::ObjectWrap::Unwrap<leveldown::Iterator>(iterator)->handle_);
return scope.Close(iterator);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git
More information about the Pkg-javascript-commits
mailing list