mirror of https://github.com/node-red/node-red.git
levelDB - oops forgot to close database on close... non fatal but lots of messages ... fixed
parent
1918322ef0
commit
ec5fc4fabd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue