alexcrichton opened PR #14863 from alexcrichton:resource-drop-with-concurrent to bytecodealliance:main:
This commit fixes
ResourceAny::resource_drop_asyncto handle the case where the destructor in question uses threading-related intrinsics to finish its work. Previously thisbail_bug!'d without an event loop but now one is run. This additionally refactorsFunc::call_asyncto have a similar, simplified, pattern.<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton removed the review request for wasmtime-core-reviewers from PR #14863.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14863.
alexcrichton requested pchickey for a review on PR #14863.
:thumbs_up: pchickey submitted PR review.
alexcrichton updated PR #14863.
alexcrichton has enabled auto merge for PR #14863.
alexcrichton added PR #14863 Run resource destructors with an event loop to the merge queue.
github-merge-queue[bot] removed PR #14863 Run resource destructors with an event loop from the merge queue.
alexcrichton added PR #14863 Run resource destructors with an event loop to the merge queue.
github-merge-queue[bot] removed PR #14863 Run resource destructors with an event loop from the merge queue.
github-actions[bot] added the label wasmtime:api on PR #14863.
alexcrichton updated PR #14863.
alexcrichton has enabled auto merge for PR #14863.
alexcrichton added PR #14863 Run resource destructors with an event loop to the merge queue.
:check: alexcrichton merged PR #14863.
alexcrichton removed PR #14863 Run resource destructors with an event loop from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC