Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

calling the last callback passed to next multiple times #82

Closed
timkuijsten opened this issue Feb 10, 2016 · 1 comment
Closed

calling the last callback passed to next multiple times #82

timkuijsten opened this issue Feb 10, 2016 · 1 comment

Comments

@timkuijsten
Copy link
Contributor

While implementing native IndexedDB support for Level.js I found that the current implementation might call the last callback that is passed to next() multiple times, instead of exactly once, what I assumed.

I've created a test that checks for this and demonstrates the problem in level.js: timkuijsten/level.js@b27db4b

I've raised this question in Level/level-js#51 (comment) as well.

@vweevers
Copy link
Member

This sounds like a problem in the implementation (which calls the callback), not abstract-leveldown. Besides that, level-js has since seen a major upgrade.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants