alexcrichton requested dicej for a review on PR #12881.
alexcrichton requested wasmtime-core-reviewers for a review on PR #12881.
alexcrichton opened PR #12881 from alexcrichton:fix-future-stream-cancellation-state to bytecodealliance:main:
This fixes two related but distinct issues with respect to delivering events to stream/future handles. First when delivering an event to a future or a stream the shared code is now more unified into one path. This fixes an issue with futures where they would always have
doneflagged asfalseaccidentally. This then fixes an additional issue where thison_deliveryfunction wasn't invoked when futures/streams had their operations cancelled.<!--
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 updated PR #12881.
github-actions[bot] added the label wasmtime:api on PR #12881.
dicej submitted PR review.
alexcrichton added PR #12881 Fix state of futures/streams after cancellation to the merge queue.
alexcrichton merged PR #12881.
alexcrichton removed PR #12881 Fix state of futures/streams after cancellation from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC