1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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);