-
Notifications
You must be signed in to change notification settings - Fork 50
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
fix: close root datastore #214
Conversation
blocks, keys and datastore are being closed in repo.close() but root is not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get a test added for this so we avoid regressions?
current tests are weird everything works on the same repo, i can't just stop instances any tips where to write the test ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code change LGTM, would be good to get a test. Was there an error that this fixes or just a random find?
This came from ctl refactor, i was trying to clean the disposable browser nodes and kept getting an error. Then i found that cleaning in the browser is completely different from node, one needs to delete 4 idb's and i could delete 3 of them but not the |
@hugomrdias can you fix the linting issue with CI? |
blocks, keys and datastore are being closed in repo.close() but root is not.