[Pkg-javascript-commits] [node-leveldown] 366/492: remove iterator safety issues

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:18 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 4f0dd2edfe5e8945c6042035f79bd4bea9c75c02
Author: Rod Vagg <rod at vagg.org>
Date:   Sun Jul 7 18:21:31 2013 +1000

    remove iterator safety issues
---
 README.md | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/README.md b/README.md
index efbde49..fcfc6f2 100644
--- a/README.md
+++ b/README.md
@@ -252,11 +252,7 @@ Safety
 
 Currently LevelDOWN does not track the state of the underlying LevelDB instance. This means that calling `open()` on an already open database may result in an error. Likewise, calling any other operation on a non-open database may result in an error.
 
-LevelUP currently tracks and manages state and will prevent out-of-state operations from being send to LevelDOWN. If you use LevelDOWN directly then you must track and manage state.
-
-### Iterators
-
-You should make sure to **always** `end()` your LevelDOWN Iterators, it will not be done for you, even on a `close()` of the database your Iterator belongs to. If you don't `end()` then the underlying resources aren't cleaned up and this will result in a Node process death.
+LevelUP currently tracks and manages state and will prevent out-of-state operations from being send to LevelDOWN. If you use LevelDOWN directly then you must track and manage state for yourself.
 
 <a name="support"></a>
 Getting support

-- 
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