Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use SafeHandles#2127

Merged
bording merged 2 commits intomasterlibgit2/libgit2sharp:masterfrom
safehandleslibgit2/libgit2sharp:safehandlesCopy head branch name to clipboard
Nov 21, 2024
Merged

Use SafeHandles#2127
bording merged 2 commits intomasterlibgit2/libgit2sharp:masterfrom
safehandleslibgit2/libgit2sharp:safehandlesCopy head branch name to clipboard

Conversation

@bording
Copy link
Member

@bording bording commented Nov 21, 2024

This PR changes Libgit2Object, which is the base class of all the handle classes, to derive from SafeHandleZeroOrMinusOneIsInvalid instead of manually implementing the clean up logic.

First step of fixing #2111

@bording bording marked this pull request as ready for review November 21, 2024 05:57
@bording bording merged commit a88e2a0 into master Nov 21, 2024
@bording bording deleted the safehandles branch November 22, 2024 00:51
@bording bording mentioned this pull request Dec 3, 2024
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.