Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call end once async iteration is done. #27

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

nodech
Copy link
Member

@nodech nodech commented Nov 4, 2024

Properly clean up the iterators when using async iterators. If end on iterator is not called, iterators will be around until db closes, this is will clean up those resources much sooner.

@nodech nodech merged commit 1e008b7 into bcoin-org:master Nov 5, 2024
10 checks passed
@nodech nodech deleted the leak branch November 5, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant