Skip to content

[28.0.0] Fix dropping cached stack with Store::into_data #10013

Merged
alexcrichton merged 1 commit intobytecodealliance:release-28.0.0from
alexcrichton:backport2
Jan 14, 2025
Merged

[28.0.0] Fix dropping cached stack with Store::into_data #10013
alexcrichton merged 1 commit intobytecodealliance:release-28.0.0from
alexcrichton:backport2

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

Backport of #10009, and I'll do a point release once this merges

…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:58
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team January 14, 2025 20:58
@alexcrichton alexcrichton enabled auto-merge (squash) January 14, 2025 21:03
@alexcrichton alexcrichton merged commit d0b7ff3 into bytecodealliance:release-28.0.0 Jan 14, 2025
@alexcrichton alexcrichton deleted the backport2 branch January 14, 2025 21:57
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