-
Notifications
You must be signed in to change notification settings - Fork 173
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
method to close db? #32
Comments
Hi, in general it would be possible to close the db by doing
However, then all the other calls like 'put, delete, get, ......' must have a check for
Also all iterators and snapshots are invalid, which means they need also a check if their according DB is still valid. I'm not sure if a 'close()' method justifies these many checks + complicating the code. So for now I'm very reluctant to add this feature, but I'll keep this ticket open, so that other users of this wrapper could post their opinion here. |
I think this item can be closed - though it's a good documentation note. |
@stephan-hof thanks for explanation here and in my other similar issues too. it really helped, even if i didnt get what i asked for :) |
Imho closing DB maybe should be part of python api.
The text was updated successfully, but these errors were encountered: