[Windows] Application crash when call a DisconnectHandler while remove the view. #3787
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
platform/windows 🪟
t/bug
Something isn't working
Description
We are creating a custom layout that holds a list of views and has an option to remove the views (removing view calls disconnect handler). Application crash while removing the view on windows, other platforms (Android, iOS, Mac) working fine.
Steps to Reproduce
DisconnectHandlerWindows.zip
Version with bug
Preview 10 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.19041
Did you find any workaround?
No
Relevant log output
System.InvalidOperationException: 'NativeView cannot be null here'
The text was updated successfully, but these errors were encountered: