servo/servo

Webgpu runs script callbacks twice

Opened this issue · 2 comments

Ipc-channel created from response_async should only send one message back, but wgpu runs callback also on failures:
https://github.com/gfx-rs/wgpu/blob/8597367d5566de321f2ce1e1bd58570cdc9bb930/wgpu-core/src/device/global.rs#L2391
So we send one msg from match case of BufferMapAsync and one from it's callback.

Solved by the PR?

Solved by the PR?

No, this still something that needs to be done.