KEMBAR78
Fix MAUI Blazor crash for multi-window Windows apps by MackinnonBuck · Pull Request #6516 · dotnet/maui · GitHub
Skip to content

Conversation

@MackinnonBuck
Copy link
Member

Description of Change

There is currently a WinUI 3 bug causing the WebView2 control to throw an exception when its parent window is closed. This primarily affects multi-window scenarios. This PR introduces a workaround to prevent MAUI Windows apps from crashing when a window hosting a BlazorWebView control is closed.

Issues Fixed

Fixes #5722

@MackinnonBuck MackinnonBuck requested a review from a team as a code owner April 26, 2022 22:51
@rmarinho rmarinho requested a review from Eilon April 28, 2022 13:09
@Eilon Eilon added the area-blazor Blazor Hybrid / Desktop, BlazorWebView label Apr 28, 2022
@MackinnonBuck MackinnonBuck merged commit d0e9037 into main Apr 29, 2022
@MackinnonBuck MackinnonBuck deleted the mbuck/fix-blazorwebview-multi-window-maui-windows branch April 29, 2022 15:58
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-blazor Blazor Hybrid / Desktop, BlazorWebView fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! platform/windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify Blazor Hybrid scenarios on Windows in multi window apps

5 participants