-
Notifications
You must be signed in to change notification settings - Fork 5k
SafeHandle marshalling improvements in the source-generated marshalling #73496
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
Comments
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsFrom #69608:
In .NET 8, we'll look at moving the SafeHandle marshalling into a custom marshaller type. When we do so, we'll address this feedback. Note for future self: This would be a good use case for the
|
/cc @stephentoub |
We completed this work with #85419 |
From #69608:
In .NET 8, we'll look at moving the SafeHandle marshalling into a custom marshaller type. When we do so, we'll address this feedback.
Note for future self: This would be a good use case for the
OnInvoked
custom marshaller method that isn't aGC.KeepAlive
usage.The text was updated successfully, but these errors were encountered: