diff --git a/nodes/core/core/80-function.js b/nodes/core/core/80-function.js index d8e480d84..ce5fdb20a 100644 --- a/nodes/core/core/80-function.js +++ b/nodes/core/core/80-function.js @@ -86,7 +86,8 @@ module.exports = function(RED) { context: { global:RED.settings.functionGlobalContext || {} }, - setTimeout: setTimeout + setTimeout: setTimeout, + clearTimeout: clearTimeout }; var context = vm.createContext(sandbox); try {