mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 23:41:01 +01:00
1190: Fix crash on zero init of buffer with no more ref count r=kvark a=Wumpf **Description** Previously, if a buffer would no longer have any reference, the zero init step crashed when trying to unwrap its ref_count. **Testing** Tested successfully on https://github.com/Wumpf/blub/commit/54a0f4ff13fcd969d87e4469067c6403999f79e2 where this problem would pop up Co-authored-by: Andreas Reich <r_andreas2@web.de>