Stream: git-wasmtime

Topic: wasmtime / PR #13659 cm-async: Fix leaking transmit state...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 19:52):

alexcrichton opened PR #13659 from alexcrichton:fix-host-leak to bytecodealliance:main:

This commit fixes issues in the implementation of futures and streams for component-model-async where when a guest dropped its half of a future/stream connection, and the other half was owned by the host, then the host-owned half would be leaked within the store.

This is similar in spirit to #13515 but has a smaller test and additionally takes into account some review comments.

Closes #13515

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 19:52):

alexcrichton requested pchickey for a review on PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 19:52):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 19:53):

alexcrichton unassigned pchickey from PR #13659 cm-async: Fix leaking transmit state with "half hosts".

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 19:53):

alexcrichton requested dicej for a review on PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 21:09):

:thumbs_up: dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 22:28):

github-actions[bot] added the label wasmtime:api on PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 23:40):

alexcrichton edited PR #13659:

This commit fixes issues in the implementation of futures and streams for component-model-async where when a guest dropped its half of a future/stream connection, and the other half was owned by the host, then the host-owned half would be leaked within the store.

This is similar in spirit to #13515 but has a smaller test and additionally takes into account some review comments.

Closes #13514
Closes #13515

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 23:40):

alexcrichton updated PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 23:41):

alexcrichton has enabled auto merge for PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2026 at 23:51):

alexcrichton added PR #13659 cm-async: Fix leaking transmit state with "half hosts" to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Jun 16 2026 at 00:15):

:check: alexcrichton merged PR #13659.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 16 2026 at 00:15):

alexcrichton removed PR #13659 cm-async: Fix leaking transmit state with "half hosts" from the merge queue


Last updated: Jul 29 2026 at 05:03 UTC