dicej requested alexcrichton for a review on PR #12975.
dicej opened PR #12975 from dicej:subtask-drop-multithreaded to bytecodealliance:main:
If a subtask has returned and exited but still has a running thread, it should not be deleted in
subtask.drop. Previously, we checked only that the main thread had exited but not whether it had any still-running threads.While debugging this, I noticed a
bail_bugerror message which was misleading and fixed that.<!--
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
-->
dicej requested wasmtime-core-reviewers for a review on PR #12975.
alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #12975.
alexcrichton added PR #12975 fix panic due to dropping multithreaded subtask prematurely to the merge queue.
alexcrichton merged PR #12975.
alexcrichton removed PR #12975 fix panic due to dropping multithreaded subtask prematurely from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC