Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep frame info registered until internal instance is gone #1514

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

alexcrichton
Copy link
Member

This commit fixes an issue where the global registration of frame data
goes away once the wasmtime::Module has been dropped. Even after this
has been dropped, though, there may still be wasmtime::Func instances
which reference the original module, so it's only once the underlying
wasmtime_runtime::Instance has gone away that we can drop everything.

Closes #1479

This commit fixes an issue where the global registration of frame data
goes away once the `wasmtime::Module` has been dropped. Even after this
has been dropped, though, there may still be `wasmtime::Func` instances
which reference the original module, so it's only once the underlying
`wasmtime_runtime::Instance` has gone away that we can drop everything.

Closes bytecodealliance#1479
@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Apr 15, 2020
@github-actions
Copy link

Subscribe to Label Action

cc @peterhuene

This issue or pull request has been labeled: "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton alexcrichton merged commit 99adc1d into bytecodealliance:master Apr 16, 2020
@alexcrichton alexcrichton deleted the no-drop branch April 16, 2020 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:api Related to the API of the `wasmtime` crate itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trap symbolication doesn't work after Module is dropped
2 participants