-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Recently after every upload I get "IllegalStateException: Cannot access database on the main thread since it may potentially lock the UI for a long period of time." #5898
Comments
This commit removes the suspend keyword from I will link a PR once assigned :) |
Hey @rohit9625, the commit removes |
Sorry, I didn't notice that before. The changes are in the private suspend fun deleteDepicts(depicts: Depicts) =
CoroutineScope(Dispatchers.IO).launch {
delete(depicts)
} But, I need to cross-check for usages of functions in |
Okay, I will revert the changes. Since there's no sense in using Thank you for pointing out @RitikaPahwa4444 |
Reopening as the fix in MR #5902 seems incomplete according to this comment. |
Hey @nicolas-raoul, should I create a new PR, or will pushing commits to the existing PR's branch be sufficient? |
Either is fine. 🙂 |
It started this week, probably caused by a recent commit?
Tasks:
If you can upload without any such issue please let me know. Thanks! :-)
The text was updated successfully, but these errors were encountered: