-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Dispatch dot lottie file loading onto a single serial queue #2229
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A serial dispatch queue ensures that IO related to loading dot Lottie files don't overlap, which can trigger file loading errors due to concurrent unzipping on a single archive.
thedrick
approved these changes
Nov 7, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @erichoracek thanks for helping us improve this :)
calda
approved these changes
Nov 7, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
miguel-jimenez-0529
approved these changes
Nov 7, 2023
Thanks for all of the prompt reviews!!! 🙌 |
cgrindel-self-hosted-renovate bot
referenced
this pull request
in cgrindel/rules_swift_package_manager
Dec 4, 2023
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [airbnb/lottie-spm](https://github.com/airbnb/lottie-spm) | patch | `from: "4.3.3"` -> `from: "4.3.4"` | --- ### Release Notes <details> <summary>airbnb/lottie-spm (airbnb/lottie-spm)</summary> ### [`v4.3.4`](https://github.com/airbnb/lottie-spm/releases/tag/4.3.4) [Compare Source](https://github.com/airbnb/lottie-spm/compare/4.3.3...4.3.4) #### What's Changed - Fix parsing regression in 4.3.0 from addition of parsing layer effects by [@​calda](https://github.com/calda) in [https://github.com/airbnb/lottie-ios/pull/2208](https://github.com/airbnb/lottie-ios/pull/2208) - Remove old animation layer when creating a new animation layer by [@​junjielu](https://github.com/junjielu) in [https://github.com/airbnb/lottie-ios/pull/2214](https://github.com/airbnb/lottie-ios/pull/2214) - Add configuration setting to remove animated bounds changes by [@​thedrick](https://github.com/thedrick) in [https://github.com/airbnb/lottie-ios/pull/2218](https://github.com/airbnb/lottie-ios/pull/2218) - Change pod dependencies `SwiftUI` and `Combine` to `weak` to ensure compatibility with iOS 12 by [@​florianrhein](https://github.com/florianrhein) in [https://github.com/airbnb/lottie-ios/pull/2219](https://github.com/airbnb/lottie-ios/pull/2219) - Fix issue where Repeater would be ignored if not at top level by [@​calda](https://github.com/calda) in [https://github.com/airbnb/lottie-ios/pull/2221](https://github.com/airbnb/lottie-ios/pull/2221) - Replace `UIScreen.main` to get display scale on iOS 13.0 and later ([#​2215](https://github.com/airbnb/lottie-spm/issues/2215)) by [@​hyun99999](https://github.com/hyun99999) in [https://github.com/airbnb/lottie-ios/pull/2216](https://github.com/airbnb/lottie-ios/pull/2216) - Dispatch dot lottie file loading onto a single serial queue by [@​erichoracek](https://github.com/erichoracek) in [https://github.com/airbnb/lottie-ios/pull/2229](https://github.com/airbnb/lottie-ios/pull/2229) - Clean up unused property in InvertedMatteLayer by [@​hanton](https://github.com/hanton) in [https://github.com/airbnb/lottie-ios/pull/2241](https://github.com/airbnb/lottie-ios/pull/2241) - Fix issue where LottieView animation would restart from beginning after backgrounding app by [@​calda](https://github.com/calda) in [https://github.com/airbnb/lottie-ios/pull/2237](https://github.com/airbnb/lottie-ios/pull/2237) **Full Changelog**: airbnb/lottie-ios@4.3.3...4.3.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A serial dispatch queue ensures that IO related to loading dot Lottie files don't overlap, which can trigger file loading errors due to concurrent unzipping on a single archive.