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

Switch to SafeHandle for restart manager handle #9

Open
henke37 opened this issue Feb 25, 2021 · 2 comments
Open

Switch to SafeHandle for restart manager handle #9

henke37 opened this issue Feb 25, 2021 · 2 comments

Comments

@henke37
Copy link

henke37 commented Feb 25, 2021

The SafeHandle class takes care of all edge cases that occur when managed code uses a native resource.

@darktohka
Copy link
Owner

Hello!

Can you please elaborate on this issue? What problem would you like to solve with it, and how exactly?

Thank you!

@henke37
Copy link
Author

henke37 commented Mar 1, 2021

It's just general good practice to use the SafeHandle class when working with native handles, since it's been designed by very smart people who know about all the corner cases.

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

No branches or pull requests

2 participants