alexcrichton opened PR #14742 from alexcrichton:simplify-handling-dropped-futures to bytecodealliance:main:
Further testing of #14618 revealed that calling
cancel_guest_subtask_without_lowered_parameterswhile dropping acall_asyncfuture can be hazardous in various subtle ways and that it's safer to just replace thelower_paramscallback on theGuestTaskwith one that always traps.Even better would be to allow the callback to return a special result that indicates the event loop should skip the call, clean up the task gracefully, and move on. However, we'll address that in a separate issue.
part of https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3r89-v5mq-j5xf
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #14742 simplify handling of dropped call_async futures to the merge queue.
:check: alexcrichton merged PR #14742.
alexcrichton removed PR #14742 simplify handling of dropped call_async futures from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC