diff --git a/lodash.js b/lodash.js index 943d44000..b99e317cc 100644 --- a/lodash.js +++ b/lodash.js @@ -3421,6 +3421,9 @@ } ran = true; result = func.apply(this, arguments); + + // clear the `func` variable so the function may be garbage collected + func = null; return result; }; }