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

loadMedia doesn't await properly #6

Open
jj-gh opened this issue Aug 21, 2023 · 0 comments
Open

loadMedia doesn't await properly #6

jj-gh opened this issue Aug 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jj-gh
Copy link

jj-gh commented Aug 21, 2023

Even if you await loadMedia, it still seems to return even when it hasn't finished. It gets really noticeable when deleting a lot of media files (tested around 200) on a relatively slow device. I had to use await Future.delayed() after every loadMedia just to prevent it from bottlenecking.

@Lzyct Lzyct added the bug Something isn't working label Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants