ache
ache copied to clipboard
Keep track of iterators and close them before closing the DB
With these changes, all open database iterators are closed before closing the main database to avoid an inconsistent state with invalid database iterators.
Related to issue #113.