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

fix memory leak when imageView removed after stopAnimatingGif #169

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

wotjd
Copy link
Contributor

@wotjd wotjd commented Apr 16, 2022

Changes

  • added logic that deletes discarded view to SwiftyGifManager.updateImageView

Description

fixes memory leak for imageView that has been set gif image and stopped animating gif
(the imageView was retained by manager even after being deleted from the hierarchy)

@alexiscreuzot alexiscreuzot merged commit 887fff3 into alexiscreuzot:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants