Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider making BlazorWebView Android 'fire and forget' disposal on by default #24250

Closed
Eilon opened this issue Aug 14, 2024 · 0 comments
Closed
Assignees
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView fixed-in-9.0.0 platform/android 🤖 s/triaged Issue has been reviewed Task neither bug nor feature but something that needs to be done in support of either
Milestone

Comments

@Eilon
Copy link
Member

Eilon commented Aug 14, 2024

In #22496 an optional switch was added to make BlazorWebView on Android do fire-and-forget for its disposal instead of blocking, and sometimes causing a deadlock, and thus an app hang.

From user reports it seems that the switch is helpful to anyone who previously experienced a hang without the switch.

What's not clear is whether the switch has any negative effects for apps that were not previously experiencing any problems. And there appears to be one case where setting the switch makes the app behave better, but the app still has a problem.

@Eilon Eilon added platform/android 🤖 area-blazor Blazor Hybrid / Desktop, BlazorWebView labels Aug 14, 2024
@Eilon Eilon added this to the .NET 9 Planning milestone Aug 14, 2024
@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Aug 14, 2024
@samhouts samhouts added the Task neither bug nor feature but something that needs to be done in support of either label Aug 23, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in MAUI SDK Ongoing Oct 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 23, 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-9.0.0 platform/android 🤖 s/triaged Issue has been reviewed Task neither bug nor feature but something that needs to be done in support of either
Projects
Status: Done
Development

No branches or pull requests

4 participants