Closed jobi closed 11 years ago
When creating a snapshot or an iterator, increase the reference count of the database or snapshot it's based on. Close the native resource when it's refcount reaches 0, rather than explicitely closing the wrapper.
bump
updated
:+1:
When creating a snapshot or an iterator, increase the reference count of the database or snapshot it's based on. Close the native resource when it's refcount reaches 0, rather than explicitely closing the wrapper.