[mac] ReleaseManagedRef crash when reusing views that have RemoveFromSuperview overridden
Open
bug
macOS
- Dominant language
- C#
- Stars
- 2.9k
- Forks
- 576
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
### Steps to Reproduce
[NSOutlineViewDidRemove.zip](https://github.com/xamarin/xamarin-macios/files/2769992/NSOutlineViewDidRemove.zip)
1. Open attached project
2. Run
3. Click button about 10 times, scrolling through list when up appears to make it happen more often, but seems random.
4. Comment out RemoveFromSuperview on MyView and it seems to go away.
### Expected Behavior
Not randomly crash
### Actual Behavior
💥
### Environment
XM from master.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.