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

Use documented invalid handles when SafeHandle is null #760

Merged
merged 3 commits into from
Nov 11, 2022
Merged

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Nov 11, 2022

Also throw when the handle is not optional, but null is provided.

Fixes #755

@AArnott AArnott enabled auto-merge November 11, 2022 05:04
Also throw when the handle is not optional, but null is provided.

Fixes #755
@AArnott AArnott merged commit 25df5f1 into main Nov 11, 2022
@AArnott AArnott deleted the fix755 branch November 11, 2022 15:53
This was referenced Nov 30, 2022
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.

Reconsider null SafeHandle handling
1 participant