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

Early return nil if animationName is nil to prevent a crashing issue #772

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

chuganzy
Copy link
Contributor

@chuganzy chuganzy commented Feb 12, 2019

Since animation here is marked as nullable, it can be technically nil, which cases a crash in LRU cache.

@buba447
Copy link
Collaborator

buba447 commented Mar 6, 2019

Looks Good!

@buba447 buba447 merged commit 710f98d into airbnb:master Mar 6, 2019
@chuganzy chuganzy deleted the fix-crashing-issue branch March 6, 2019 21:34
NSGolova pushed a commit to clario-tech/lottie-ios that referenced this pull request Nov 19, 2020
Early return nil if animationName is nil to prevent a crashing issue
calda pushed a commit that referenced this pull request Dec 1, 2022
Early return nil if animationName is nil to prevent a crashing issue
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.

2 participants