Skip to content

Commit

Permalink
Learn: Fix infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktwerner committed Apr 29, 2021
1 parent 97a46cf commit e2000c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/learn/src/timeouts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const timeouts = [];

export function setTimeout(f, t) {
timeouts.push(setTimeout(f, t));
timeouts.push(window.setTimeout(f, t));
}

export function clearTimeouts() {
Expand Down

0 comments on commit e2000c9

Please sign in to comment.