Claude Code v2.1.333 ·
Cancelled timers no longer run their callbacks late
Claude Code's internal timers now skip their callbacks once cancelled and clean up the delay values they are given
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.333,
Bug FixesSection of the release
What
Claude Code uses timers internally to run a piece of work after a delay. Two places that set up those timers changed:
- The work now runs through a protective wrapper instead of being called directly.
- The delay is now cleaned up before the timer is set, instead of being passed through untouched.
- In one of the two places, a timer that has been cancelled or removed no longer runs its work when its time comes.
Why
This stops timers that were already cancelled from firing late and doing work that is no longer wanted.
See this entry in the whole of v2.1.333 →