mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
56d9d32a07
* Ensure device lost closure is called exactly once before being dropped. This requires a change to the Rust callback signature, which is now Fn instead of FnOnce. When the Rust callback or the C closure are dropped, they will panic if they haven't been called. `device_drop` is changed to call the closure with a message of "Device dropped." A test is added. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |