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

Remove allowMainThreadQueries from database initialization #3826

Open
HalfAPum opened this issue May 28, 2023 · 0 comments · May be fixed by #3827
Open

Remove allowMainThreadQueries from database initialization #3826

HalfAPum opened this issue May 28, 2023 · 0 comments · May be fixed by #3827
Milestone

Comments

@HalfAPum
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I suggest removing allowMainThreadQueries calls from databases in order to remove situations when database operations are performed on the main thread.

Describe the solution you'd like
Remove function call, but test and ensure that no query is called from the main thread, as this will throw exception and crash app.

@HalfAPum HalfAPum linked a pull request May 28, 2023 that will close this issue
4 tasks
@VishalNehra VishalNehra added this to the v4.0 milestone May 28, 2023
@VishalNehra VishalNehra modified the milestones: v3.9, v4.0 Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants