mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
This clarifies that the Rust and C-style callbacks/closures need to be consumed (not called) before they are dropped. It also makes the from_c function consume the param closure so that it can be dropped without panicking. It also relaxes the restriction that the callback/closure can only be called once.