Skip to content

Commit

Permalink
Fix incorrect deferred counts on warm rebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed May 11, 2024
1 parent 0d0dd2e commit 39e6f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/defer-counter.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
class DeferCounter {
constructor() {
this.deferCount = 0;
this.inputs = new Map();
this.resetCount();
}

resetCount() {
this.deferCount = 0;
this.inputs = new Map();
}

getCount() {
Expand Down

0 comments on commit 39e6f4f

Please sign in to comment.