Open arvola opened 10 years ago
Interesting... have you invoked shutdown()
in your instance?
No, we are using the singleton, which I assume doesn't need shutdown()
between activities.
You are correct. You shouldn't need shutdown
. Besides you cant invoke shutdown
on the singleton instance it will crash.
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.