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
Handler still used after canceling #445
Comments
Interesting... have you invoked |
No, we are using the singleton, which I assume doesn't need |
You are correct. You shouldn't need I will need to investigate. Thanks! |
Will investigate for 2.4. |
@arvola does this still occur to you? I am moving to Picasso Next. A sample app demonstrating this would be great. |
I'm not sure, but I will take a look and see if I can create a sample. |
I noticed that at times there are exceptions in the logs when navigating activities, even though the image downloads are being canceled prior.
I'm not very familiar with the inner workings of Picasso, but it would seem that
BitmapHunter.hunt()
does not check if it has been canceled while it's running, and so ends up trying to contact a dead handler at the end:Since the exception is caught, it doesn't currently affect the app in any significant way, but I'd wager it'd still be better to avoid the exception in the first place.
Thoughts? I can make the necessary changes.
The text was updated successfully, but these errors were encountered: