Multiple Windows Webview2 component crash
Which version of the app?
WinUI 3 Gallery
Description
Closing a new window when a webview2 component is loaded causes the application to crash.
If you go to Windows -> Create Multiple windows, then on the second window that opens, navigate to the WebView2 component, then attempt to close this window, this will cause a crash.
Screenshots
No response
Windows version
November 2021 Update/21H2 (19044)
Additional context
No response
Duplicate of #964
This is a separate issue, the one in #964 relates to the window not closing. This issue is the app crashes when attempting to close a WebView2 window.
Fixed in Windows App SDK 1.1.2, see release notes for more info.
I think @officesolutions-it is right, this is a different issue. Re-opening. This was not fixed in 1.1.2.
Looks like duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/6872.
@officesolutions-it - can you try the workaround listed in that issue?
Closing - duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/6872 , fixed in Windows App SDK 1.3.1 (1.3.230502000).