Skip to content

fix(badger): remove Close() from Reset to prevent DB closed error#49

Closed
everyx wants to merge 1 commit intodarkweak:mainfrom
everyx:fix/badger-db-closed
Closed

fix(badger): remove Close() from Reset to prevent DB closed error#49
everyx wants to merge 1 commit intodarkweak:mainfrom
everyx:fix/badger-db-closed

Conversation

@everyx
Copy link
Copy Markdown
Contributor

@everyx everyx commented Feb 28, 2026

Reset() should only clear data, not close the DB connection. This fixes the issue where flush API causes "DB Closed" errors.

Reset() should only clear data, not close the DB connection.
This fixes the issue where flush API causes "DB Closed" errors.
@everyx everyx closed this Mar 4, 2026
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