don't call store.close() due to issues

This commit is contained in:
Patrick Nagurny 2015-08-24 12:52:52 -04:00
parent f4a1f7b12a
commit efdf38d5c2

View File

@ -53,7 +53,8 @@ DB.prototype.start = function(callback) {
};
DB.prototype.stop = function(callback) {
this.store.close(callback);
// TODO Figure out how to call this.store.close() without issues
setImmediate(callback);
};
DB.prototype.getBlock = function(hash, callback) {