Skip to content

Conversation

@almarklein
Copy link
Member

The C-API for drop methods was added to wgpu-native recently, and something similar will likely be added to webgpu.h soon.

Drop differs from destroy, in that it basically reduced the refcount, allowing wgpu-core to clean up the resource when it's no longer referenced. Nevertheless, some of the drop methods seem to be causing issues. For now I just commented these calls - we should revisit when the lifetime handling in wgpu-native is more final.

@almarklein almarklein merged commit d856799 into main Oct 7, 2021
@almarklein almarklein deleted the drop branch October 7, 2021 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants