Skip to content

Commit

Permalink
Don't clear set at end for flush reentrancy safety; canceling removes…
Browse files Browse the repository at this point in the history
… from set
  • Loading branch information
kevinpschaaf committed Mar 13, 2019
1 parent ef82ddf commit 3b16476
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/utils/debounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,5 @@ export const flushDebouncers = function() {
});
}
});
debouncerQueue = new Set();
return didFlush;
};

0 comments on commit 3b16476

Please sign in to comment.