Skip to content

[macOS] minimized and hidden (cmd+h) leaks memory and blocks. #78

@seivan

Description

@seivan

It eventually crashes with thread 'main' panicked at 'attempt to add with overflow', wgpu-native/src/swap_chain.rs:177:27

Reproducible with #77 & master

Fullscreen laggs to the point of unusable - however a maxed out window size works as normal.
Moved to separate issue since it no longer leaks memory and seems to be a different problem.

Memory usage spiked while this issue went up, and did not go away once the window was brought back into focused and not fullscreen - so definitely a leak.

Edit: Happens with gfx-hal/quad+SDL|Winit examples as well.

Edit: Fix for minimized and hidden is in gfx-rs/gfx#2973

Edit: Seems to have appeared again #78 (comment)

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions