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

wgpu-core: Register new pipelines with device's tracker. #2565

Merged
merged 2 commits into from
Apr 1, 2022

Conversation

jimblandy
Copy link
Member

Without this change, LifetimeTracker::triage_suspected never notices that compute or render pipelines are free, and they stick around until the hub is destroyed.

Fixes #2564.

Without this change, `LifetimeTracker::triage_suspected` never notices
that compute or render pipelines are free, and they stick around until
the hub is destroyed.

Fixes gfx-rs#2564.
@kvark kvark merged commit 84fadca into gfx-rs:master Apr 1, 2022
@jimblandy jimblandy deleted the free-pipeline branch April 1, 2022 17:42
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.

Compute pipelines never freed at runtime, leaking memory
2 participants