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

Update Gifu to 3.3.1 #21161

Merged
merged 3 commits into from
Jul 21, 2023
Merged

Update Gifu to 3.3.1 #21161

merged 3 commits into from
Jul 21, 2023

Conversation

kean
Copy link
Contributor

@kean kean commented Jul 21, 2023

Fixes #21160

Fortunately, I fixed this crash in Gifu two years ago 😃

The latest version is 3.4.0, but it is not on CocoaPods.

To test:

The crash is a race condition and you have to be very unlucky to reproduce it.

Regression Notes

  1. Potential unintended areas of impact: GIF rendering
  2. What I did to test those areas of impact (or what existing automated tests I relied on): tested manually
  3. What automated tests I added (or what prevented me from doing so): n/a

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@kean kean added this to the Pending milestone Jul 21, 2023
@kean kean requested review from guarani and staskus July 21, 2023 01:37
@kean kean marked this pull request as draft July 21, 2023 01:42
@@ -221,9 +221,9 @@ public class CachedAnimatedImageView: UIImageView, GIFAnimatable {
animatedGifData = data
DispatchQueue.main.async() {
self.setFrameBufferCount(self.gifPlaybackStrategy.frameBufferCount)
self.animate(withGIFData: data) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kean kean marked this pull request as ready for review July 21, 2023 01:56
@kean kean mentioned this pull request Jul 21, 2023
4 tasks
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jul 21, 2023

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr21161-d4c4c29
Version22.8
Bundle IDorg.wordpress.alpha
Commitd4c4c29
App Center BuildWPiOS - One-Offs #6477
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jul 21, 2023

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr21161-d4c4c29
Version22.8
Bundle IDcom.jetpack.alpha
Commitd4c4c29
App Center Buildjetpack-installable-builds #5508
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

Copy link
Contributor

@staskus staskus left a comment

Choose a reason for hiding this comment

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

Fortunately, I fixed this crash in Gifu two years ago 😃

Okay 😅

Power of open source integrating your own changes from 2 years ago 👏

@kean kean force-pushed the task/update-gifu branch from c5d8dee to 85b92f3 Compare July 21, 2023 20:16
@kean kean enabled auto-merge July 21, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when updating FrameStore in background (Gifu)
3 participants