Skip to content

Commit

Permalink
fix missing timer deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Sep 18, 2023
1 parent daab51c commit 914d4f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ function clearTimer(fn){
}
}
if(nextTimer === EmptyTimer){
timers.delete(nextTimer)
clearTimeout(nextTickTimer)
nextTickTimer = null
}
Expand Down

0 comments on commit 914d4f8

Please sign in to comment.