Skip to content

cm-async: Fix leaking thread data into a store on cancel#13098

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:fix-leak
Apr 14, 2026
Merged

cm-async: Fix leaking thread data into a store on cancel#13098
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:fix-leak

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This commit fixes an issue where when a subtask is cancelled while it's in the STARTING state this would leak data within the store. The fix here is to call a dedicated cleanup function which handles all the fields of a thread appropriately.

This commit fixes an issue where when a subtask is cancelled while it's
in the `STARTING` state this would leak data within the store. The fix
here is to call a dedicated cleanup function which handles all the
fields of a thread appropriately.
@alexcrichton alexcrichton requested a review from a team as a code owner April 14, 2026 20:34
@alexcrichton alexcrichton requested review from cfallin and dicej and removed request for a team and cfallin April 14, 2026 20:34
@alexcrichton alexcrichton added this pull request to the merge queue Apr 14, 2026
Merged via the queue into bytecodealliance:main with commit 4090d1b Apr 14, 2026
48 checks passed
@alexcrichton alexcrichton deleted the fix-leak branch April 14, 2026 22:56
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.

2 participants