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

Conditionally invalidate the displayLink #54

Closed
wants to merge 1 commit into from

Conversation

flyinghyrax
Copy link
Contributor

Don't invalidate the displayLink if it was never initialized before the AnimatableImageView is deallocated.

For issue #53; this will conflict with PR #52. I can update it after #52 is closed or a maintainer can add these changes themselves; it's pretty straightforward.

2016-04-10 - rebased after #52 and #55 were merged into master.

Don't invalidate the CADisplayLink on deinit unless the
lazy display link instance was already initialized previously.

- Closes kaishin#53
@kaishin
Copy link
Owner

kaishin commented Apr 10, 2016

Thanks for the PR @mr-seiler!

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

2 participants