Open rolfbjarne opened 1 year ago
This pattern is not GC safe:
https://github.com/xamarin/xamarin-macios/blob/cbf459a608ff18304cc9616ea7bfde0c8d14c018/src/CoreMidi/MidiServices.cs#L848-L850
because the p pointer is only valid (fixed) inside the fixed statement.
p
fixed
We have to find all such patterns, and fix them to not return fixed pointers.
Can I take a look at this issue?
@Ravina-Deogadkar yep, feel free to have a look!
Thanks, I'll possibly update by weekend
This pattern is not GC safe:
https://github.com/xamarin/xamarin-macios/blob/cbf459a608ff18304cc9616ea7bfde0c8d14c018/src/CoreMidi/MidiServices.cs#L848-L850
because the
p
pointer is only valid (fixed) inside thefixed
statement.We have to find all such patterns, and fix them to not return fixed pointers.