Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't release the error obj manually #266

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Don't release the error obj manually #266

merged 1 commit into from
Apr 13, 2023

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Apr 11, 2023

We should do this for the same reason it was done in: #196 (calling functions which use this macro in an autorelasepool will cause a SIGSEGV since the obj has already been released manually).

Fixes the segfault encountered in: gfx-rs/wgpu#3550.

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find!

@kvark kvark merged commit 7510de0 into gfx-rs:master Apr 13, 2023
@teoxoy teoxoy deleted the patch-1 branch April 13, 2023 06:49
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