Skip to content

Do not apply cancelled decompilation output - #4165

Merged
siegfriedpammer merged 1 commit into
masterfrom
fix/do-not-apply-cancelled-decompilation
Sep 26, 2026
Merged

siegfriedpammer merged 1 commit into
masterfrom
fix/do-not-apply-cancelled-decompilation

Conversation

@siegfriedpammer

Copy link
Copy Markdown
Member

A cancellation can arrive after decompilation output has been collected but before the UI-thread apply callback runs. Re-check the token on the UI thread so stale output does not overwrite the tab state selected after cancellation.

Verification: not run separately; split from #4157.


This PR description was written by an AI agent (OpenCode gpt-5.5) working under @siegfriedpammer's direction.

The token was checked before the output was collected, but collecting the
text and waiting for the UI callback both take time. A cancel landing in
that window - the assembly was removed from the list, the user selected
something else - still let the finished output overwrite whatever state
the tab had been put into since.

Assisted-by: Claude:claude-opus-5[1m]:Claude Code
Assisted-by: OpenCode:openai/gpt-5.5:OpenCode
@siegfriedpammer
siegfriedpammer force-pushed the fix/do-not-apply-cancelled-decompilation branch from 856944c to 5de9631 Compare September 21, 2026 15:52
@siegfriedpammer
siegfriedpammer merged commit 158f82e into master Sep 26, 2026
19 of 20 checks passed
@siegfriedpammer
siegfriedpammer deleted the fix/do-not-apply-cancelled-decompilation branch September 26, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant