{"version":"2.1.333","anchor":"timers-wrapped-in-a-guard-and-given-normalized-delay","canonical_anchor":"timers-wrapped-in-a-guard-and-given-normalized-delay","heading":"Cancelled timers no longer run their callbacks late","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/timers-wrapped-in-a-guard-and-given-normalized-delay","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Cancelled timers no longer run their callbacks late\n\nClaude Code's internal timers now skip their callbacks once cancelled and clean up the delay values they are given\n\n**What**\n\nClaude Code uses timers internally to run a piece of work after a delay. Two places that set up those timers changed:\n\n- The work now runs through a protective wrapper instead of being called directly.\n\n- The delay is now cleaned up before the timer is set, instead of being passed through untouched.\n\n- In one of the two places, a timer that has been cancelled or removed no longer runs its work when its time comes.\n\n**Why**\n\nThis stops timers that were already cancelled from firing late and doing work that is no longer wanted.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}