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

Prevent panic in untrack if a resource is already destroyed #4690

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

nical
Copy link
Contributor

@nical nical commented Nov 15, 2023

Checklist

  • Run cargo clippy.

Connections

Fixes another regression from #4657.

Description

untrack accesses storage after resources may have been destroyed so it must use the appropriate getter.

Testing

Caught by the CTS in firefox.

@nical nical requested a review from a team as a code owner November 15, 2023 09:44
@teoxoy teoxoy merged commit f5665f7 into gfx-rs:trunk Nov 15, 2023
27 checks passed
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