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:
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
Block a user