From efdf38d5c2af465c4c05611516e719e6a3f77a4e Mon Sep 17 00:00:00 2001 From: Patrick Nagurny Date: Mon, 24 Aug 2015 12:52:52 -0400 Subject: [PATCH] don't call store.close() due to issues --- lib/db.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/db.js b/lib/db.js index 43733b02..ea287a5b 100644 --- a/lib/db.js +++ b/lib/db.js @@ -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) {