We need a method to close all the open stores gracefully, both level and chunk stores. There are many of them.
I'm unclear right now whether when electron quits it waits for any pending leveldb writes, we should make sure and close osm-p2p-db in the quit handler.
We need this function for cleanup of test dbs when running in the browser.
We need a method to close all the open stores gracefully, both level and chunk stores. There are many of them.
I'm unclear right now whether when electron quits it waits for any pending leveldb writes, we should make sure and close osm-p2p-db in the quit handler.
We need this function for cleanup of test dbs when running in the browser.