mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
418: Hotfix deadlocks on resource cleanup r=kvark a=LaylConway This resolves resource cleanup causing deadlocks with `maintain`, because of `Device::pending` being locked in reverse order. I'm calling this a "hotfix" because I don't think this is a scaleable approach to resolve how the issue happened in the first place, but it alleviates current deadlocking isssues. I'm not quite sure how `Token` works, so I don't know if I used that right here. This fixes #417 Co-authored-by: Layl <2385329-layl@users.noreply.gitlab.com>