Closed SupinePandora43 closed 1 year ago
In Marshal.GetFunctionPointerForDelegate it'sn't critical, but in [UnmanagedCallersOnly] it causes runtime exception on reverse pinvoke.
Marshal.GetFunctionPointerForDelegate
[UnmanagedCallersOnly]
This is bad
Fixed. (Handle<> was completely removed in favor of using generated marshalling with automatic GC.KeepAlive)
Handle<>
GC.KeepAlive
In
Marshal.GetFunctionPointerForDelegate
it'sn't critical, but in[UnmanagedCallersOnly]
it causes runtime exception on reverse pinvoke.Regression?
45