Update utils.ts
This commit is contained in:
parent
0a6d41ecf9
commit
87e6638e9e
@ -185,6 +185,7 @@ export const throttleRAF = <T extends any[]>(
|
|||||||
timerId = null;
|
timerId = null;
|
||||||
if (watchdog) {
|
if (watchdog) {
|
||||||
clearTimout(watchdog);
|
clearTimout(watchdog);
|
||||||
|
watchdog = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user