Closed netonjm closed 2 years ago
Using registrar and netcore6 makes GC be more aggressive collecting objects, to ensure delegate is not collected we keep the reference.
This is not what's happening. The registrar is circumventing code generation of the managed delegate field that made xammac "work". See https://github.com/xamarin/xamarin-macios/issues/11328
Using registrar and netcore6 makes GC be more aggressive collecting objects, to ensure delegate is not collected we keep the reference.
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1576420