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

Fix iced_wgpu freezing on empty layers #1996

Merged
merged 3 commits into from
Aug 2, 2023
Merged

Fix iced_wgpu freezing on empty layers #1996

merged 3 commits into from
Aug 2, 2023

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Aug 2, 2023

The render method would return when an empty layer was encountered without explicitly dropping the RenderPass (necessary because we use ManuallyDrop), which would then leak memory and freeze wgpu until the surface was recreated.

hecrj added 2 commits August 2, 2023 22:05
The `render` method would return when an empty layer is encountered without explicitly dropping the `RenderPass` (necessary because we use `ManuallyDrop`), which would then leak memory and freeze `wgpu` until the surface was recreated.
@hecrj hecrj added bug Something isn't working rendering wgpu labels Aug 2, 2023
@hecrj hecrj added this to the 0.10.0 milestone Aug 2, 2023
@hecrj hecrj enabled auto-merge August 2, 2023 20:12
@hecrj hecrj merged commit f7ca420 into master Aug 2, 2023
@hecrj hecrj deleted the fix/wgpu-freeze branch August 2, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rendering wgpu
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant