Skip to content

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

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

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

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