alexcrichton opened PR #13098 from alexcrichton:fix-leak to bytecodealliance:main:
This commit fixes an issue where when a subtask is cancelled while it's in the
STARTINGstate 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.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #13098.
alexcrichton requested cfallin for a review on PR #13098.
alexcrichton unassigned cfallin from PR #13098 cm-async: Fix leaking thread data into a store on cancel.
alexcrichton requested dicej for a review on PR #13098.
dicej submitted PR review.
alexcrichton added PR #13098 cm-async: Fix leaking thread data into a store on cancel to the merge queue.
alexcrichton merged PR #13098.
alexcrichton removed PR #13098 cm-async: Fix leaking thread data into a store on cancel from the merge queue.
Last updated: May 03 2026 at 22:13 UTC