Skip to content

[29.0.0] Fix dropping cached stack with Store::into_data #10014

Merged
alexcrichton merged 1 commit intobytecodealliance:release-29.0.0from
alexcrichton:backport3
Jan 14, 2025
Merged

[29.0.0] Fix dropping cached stack with Store::into_data #10014
alexcrichton merged 1 commit intobytecodealliance:release-29.0.0from
alexcrichton:backport3

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

Backport of #10009 for this release branch before it's released this weekend.

…0009)

This commit fixes a regression from bytecodealliance#9604 where using `Store::into_data`
wouldn't properly drop a cached stack in a store like a `Drop`
destructor. The fix here is to add the `flush_fiber_stack` method into
the `into_data` here as well.
@alexcrichton alexcrichton requested a review from a team as a code owner January 14, 2025 20:59
@alexcrichton alexcrichton requested review from pchickey and removed request for a team January 14, 2025 20:59
@alexcrichton alexcrichton enabled auto-merge (squash) January 14, 2025 21:04
@alexcrichton alexcrichton merged commit c72e60f into bytecodealliance:release-29.0.0 Jan 14, 2025
@alexcrichton alexcrichton deleted the backport3 branch January 14, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants