levelDB - oops forgot to close database on close... non fatal but lots of messages ... fixed

This commit is contained in:
Dave C-J 2013-09-27 17:33:55 +01:00
parent 1918322ef0
commit ec5fc4fabd
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ function LevelNode(n) {
});
}
RED.nodes.registerType("leveldbase",LevelNode);
LevelNode.prototype.close = function() {
this.db.close();
}
function LevelDBNodeIn(n) {
RED.nodes.createNode(this,n);