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

Add missing InvalidHandleValue metadata on RAII types #2043

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

riverar
Copy link
Collaborator

@riverar riverar commented Dec 11, 2024

Adds InvalidHandleValue metadata to various RAII types. This is required to know when or when not to pass the handles to their respective freeing/closing APIs. Tests also added to ensure we fail on this in the future.

@mikebattista
Copy link
Collaborator

I merged #2042.

@riverar riverar marked this pull request as ready for review March 4, 2025 06:00
@riverar riverar requested a review from mikebattista as a code owner March 4, 2025 06:00
@riverar riverar changed the title Rafael/additional ihv metadata Add missing InvalidHandleValue metadata on RAII types Mar 4, 2025
@riverar
Copy link
Collaborator Author

riverar commented Mar 4, 2025

No idea how to trigger a rebuild here as the pipeline is in Azure DevOps. @mikebattista perhaps you can manually trigger it?

Would be great to run/verify the tests.

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