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

AsyncLock is causing ANR in .NET MAUI with .NET 8 #288

Open
dharamhbtik opened this issue Dec 12, 2024 · 1 comment
Open

AsyncLock is causing ANR in .NET MAUI with .NET 8 #288

dharamhbtik opened this issue Dec 12, 2024 · 1 comment

Comments

@dharamhbtik
Copy link

We were using Nito library with our Xamarin Forms App with .Net Standard 2.1 and was working fine.

Same code base with minimal changes in the C# classes we migrated to .NET MAUI with .NET 8 and we are observing that all the locks are not working properly and app is getting ANR.

Is this library is fully compatible with .NET 8 or .NET 9 ? or there is any adjustments we have to make in order to make it working as per the requirement?

@StephenCleary
Copy link
Owner

Yes, this library is fully compatible with net 8.0 and 9.0. it does not support trimming or AoT (yet), but it shouldn't cause ANRs on its own. Of course, if an app called a blocking lock method from the UI thread, that could cause an ANR.

Can you post a minimal repro?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants