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

GIF keeps running in the background #653

Closed
KimiChiu opened this issue Jan 6, 2023 · 1 comment
Closed

GIF keeps running in the background #653

KimiChiu opened this issue Jan 6, 2023 · 1 comment
Labels

Comments

@KimiChiu
Copy link

KimiChiu commented Jan 6, 2023

I'm using LazyImageView right now. I have called reset in the prepareForReuse of UITableViewCell. And it did set imageContainer to nil to trigger the reset int the ImageView.
But I found it only set _animatedImageView?.isHidden = true and _animatedImageView?.image = nil. It does not call prepareForReuse nor stopAnimatingGIF. So when it displays a high resolution GIF file, it makes the scrolling stuttering even if the prepareForReuse was called.

@kean kean added the bug label Jan 13, 2023
@kean
Copy link
Owner

kean commented Feb 5, 2023

Thanks for the report. Fixed in version 11.6.1.

@kean kean closed this as completed Feb 5, 2023
kean added a commit that referenced this issue Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants