From 051e5a6308881b41a80a02590fc9f574b7b551c7 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 7 Oct 2015 13:21:52 -0700 Subject: [PATCH] Clear `args` and `thisArg` in debounce `cancel`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index fda985e2a..f60c7ffac 100644 --- a/lodash.js +++ b/lodash.js @@ -7940,7 +7940,7 @@ clearTimeout(maxTimeoutId); } lastCalled = 0; - maxTimeoutId = timeoutId = trailingCall = undefined; + args = maxTimeoutId = thisArg = timeoutId = trailingCall = undefined; } function complete(isCalled, id) {