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 issue where LottieLogger.shared.assertionFailure would unexpectedly crash in release builds #1665

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

calda
Copy link
Member

@calda calda commented Jul 26, 2022

This PR fixes issue where LottieLogger.shared.assertionFailure would unexpectedly crash in release builds.

Naively I would expect both of these implementations to behave the same. I filed a compiler bug for this: swiftlang/swift#60249

Fixes #1663.

Copy link
Collaborator

@erichoracek erichoracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@calda calda enabled auto-merge (squash) July 26, 2022 20:31
@calda calda merged commit b04b773 into master Jul 26, 2022
@calda calda deleted the cal--fix-release-assertion-failure-crash branch July 26, 2022 20:41
erichoracek added a commit to airbnb/epoxy-ios that referenced this pull request Jul 27, 2022
…se builds

In the same style as airbnb/lottie-ios#1665, fixes issue where `EpoxyLogger.shared.assertionFailure` and `EpoxyLogger.shared.assertionFailure` and `EpoxyLogger.shared.assert` would unexpectedly crash in release builds.
erichoracek added a commit to airbnb/epoxy-ios that referenced this pull request Jul 27, 2022
…se builds

In the same style as airbnb/lottie-ios#1665, fixes an issue where `EpoxyLogger.shared.assertionFailure` and `EpoxyLogger.shared.assert` would unexpectedly crash in release builds.
erichoracek added a commit to airbnb/epoxy-ios that referenced this pull request Jul 27, 2022
…se builds (#115)

In the same style as airbnb/lottie-ios#1665, fixes an issue where `EpoxyLogger.shared.assertionFailure` and `EpoxyLogger.shared.assert` would unexpectedly crash in release builds.
renabriseno68 added a commit to renabriseno68/epoxy-ios-flutter-developer that referenced this pull request Sep 13, 2022
…se builds (#115)

In the same style as airbnb/lottie-ios#1665, fixes an issue where `EpoxyLogger.shared.assertionFailure` and `EpoxyLogger.shared.assert` would unexpectedly crash in release builds.
calda added a commit that referenced this pull request Nov 28, 2022
calda added a commit that referenced this pull request Dec 1, 2022
MoroziOS pushed a commit to MoroziOS/tmg-lottie-ios that referenced this pull request May 22, 2024
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.

LottieLogger.assertFailure should not crash in Release build.
2 participants