[windows] Account for ObjectDisposedException coming from device tests for MauiWebView #21631
Labels
area-testing
Unit tests, device tests
fixed-in-8.0.40
fixed-in-9.0.0-preview.5.24307.10
platform/windows 🪟
testing-green-ci
Milestone
Description
After reviewing some crash dumps for WinUI we noticed an ObjectDisposedException
Currently we haven't found a way to detect for this beyond just catching and logging the exception.
I also wonder if we need the internal web view on this code and if that's complicated matters even more. That internal WebView was added 8 years ago for WinRT
xamarin/Xamarin.Forms#277
I started a branch here
https://github.com/dotnet/maui/tree/catch_disposed_exception
With a somewhat naive approach to just catch the exception for now and log it
But I'm curious if
The text was updated successfully, but these errors were encountered: