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

GetWithChildren/GetAllWithChildren get stuck on iOS 16.2 #5

Open
EpEthan opened this issue Apr 25, 2023 · 3 comments
Open

GetWithChildren/GetAllWithChildren get stuck on iOS 16.2 #5

EpEthan opened this issue Apr 25, 2023 · 3 comments

Comments

@EpEthan
Copy link

EpEthan commented Apr 25, 2023

Hello,
I've been testing my Xamarin.Forms on iOS and ran into an error with the WithChildren methods.
My code:

try
{
    return DB.GetAllWithChildren<T>().ToArray();
}
catch (Exception ex)
{
    return null;
}

Where DB is SQLiteConnection....

Usually this works well, but sometimes when I open the app it gets stuck on this specific line, or a similar line containing GetWithChildren.

I'm not sure what's going on, but it feels like some kind of deadlock issue in the library that seldom occurs but can happen.

Your help would be appreciated.

Versions:

  • Xamarin.Forms: 4.8.0.1560
  • sqlite-net-pcl: 1.8.116
  • SQLiteNetExtensions: 2.1.0
@EpEthan
Copy link
Author

EpEthan commented Apr 25, 2023

Note: A strange observation is that this does not happen on Android.

@rodrigojuarez
Copy link

@EpEthan did you find anything on this?

@borrmann
Copy link

borrmann commented Feb 3, 2024

@rodrigojuarez I would recommend to not use 1.8.116 (on iOS)
maui issue
original issue

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

3 participants