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

Observe DangerousAddRef result before proceeding. #762

Merged
merged 2 commits into from
Nov 11, 2022
Merged

Observe DangerousAddRef result before proceeding. #762

merged 2 commits into from
Nov 11, 2022

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Nov 11, 2022

Fixes #754

@AaronRobinsonMSFT
Copy link
Member

This isn't necessary. Sorry for the slow reply. The DangerousAddRef will throw on failure to add ref.

@AArnott
Copy link
Member Author

AArnott commented Nov 11, 2022

Thanks, @AaronRobinsonMSFT. I'll revert this change.

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.

SafeHandle to typedef conversion should not ignore AddRef failure
2 participants