{"version":"2.1.290","anchor":"dialog-in-flight-cleanup-made-identity-safe","canonical_anchor":"dialog-in-flight-cleanup-made-identity-safe","heading":"An old dialog response can no longer cancel a newer one","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290\/e\/dialog-in-flight-cleanup-made-identity-safe","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290","markdown":"### An old dialog response can no longer cancel a newer one\n\nCleanup of pending dialog requests now only removes an entry if it still belongs to the same request, fixing a race\n\n**What**\n\nClaude Code keeps a list of dialog requests that are still waiting for an answer. When a request finishes or is cancelled, its entry is now removed only if the entry still belongs to that same request. Before, finishing any request with the same identifier removed the entry, even if a newer request had replaced it in the meantime. The same check applies to both answering and cancelling.\n\n**Why**\n\nThis stops a timing problem where a late answer to an older dialog could cancel or overwrite a newer dialog that reused its identifier.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}