Merge branch 'master' into dev

This commit is contained in:
Nick O'Leary
2021-05-14 21:18:32 +01:00
2 changed files with 6 additions and 4 deletions

View File

@@ -366,7 +366,8 @@ module.exports = function(RED) {
__node__.error("Cannot send from close function");
}
};
`+node.fin +`})();`;
`+node.fin +`
})();`;
finOpt = createVMOpt(node, " cleanup");
finScript = new vm.Script(finText, finOpt);
}
@@ -489,4 +490,3 @@ module.exports = function(RED) {
});
RED.library.register("functions");
};