You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the KingfisherWrapper itself is a struct (which contains the actual image view as a reference), it would be quite difficult to prevent the holding in the closure. If the extended lifetime is not desired, you can try to call cancelDownloadTask on the imageView.kf to terminate the processing:
@bing-feng-v587 When you write, ‘This approach doesn’t seem to work,’ do you mean that the proposed solution isn’t fixing the problem, or is it not acceptable for your project because there are many parts of your codebase that would need to be adapted?
Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.
Issue Description
What
when vc poped, imageview should dealloc, but it not happend when loading image use kingfisher.
and it real deinit after load remote image finish.
kingfier retain imageview by self.base
Reproduce
[The steps to reproduce this issue. What is the url you were trying to load, where did you put your code, etc.]
Other Comment
[Add anything else here]
The text was updated successfully, but these errors were encountered: