mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 20:37:48 +00:00
Clear args and thisArg in debounce cancel.
This commit is contained in:
@@ -7940,7 +7940,7 @@
|
|||||||
clearTimeout(maxTimeoutId);
|
clearTimeout(maxTimeoutId);
|
||||||
}
|
}
|
||||||
lastCalled = 0;
|
lastCalled = 0;
|
||||||
maxTimeoutId = timeoutId = trailingCall = undefined;
|
args = maxTimeoutId = thisArg = timeoutId = trailingCall = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
function complete(isCalled, id) {
|
function complete(isCalled, id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user