Closed abdelmagied94 closed 8 months ago
I have exactly the same problem besides the crash still happen occasionally even if I don't set the isAnimating parameter.
I am still having this issue, randomly crashes the app.
I have exactly the same problem besides the crash still happen occasionally even if I don't set the isAnimating parameter.
Seems TSAN issue.
@angelmic Can you have a test with v3.0.0-beta is this still reproducable ?
I am facing same issue any solution ?
@irfanabdulkhaliq
This code no longer exists ? There are no deinit
Try with 3.0.0-beta2 with reproducable demo ?
how to try or install 3.0.0-beta2 on my project @dreampiggy
I have installed 2.2.5 and still no crash has produced yet only code exist in imagePlayer file deinit { player?.stopPlaying() }
how to try or install 3.0.0-beta2 on my project @dreampiggy
Just use the fixed version ? As a App developer, you have final control for each package's version.
That's semver is for SDK developer, not App developer. So, as an App developer (not me as SDK developer), you'd better using the fixed version always (to avoid automatically updated)
Try with v2.2.6 and see whether this been fixed or not.
If you don't have time to try v3.0.0
In v3.0.0, this repo may move to SDWebImage Core repo...So which need some migration (not pain, but still need changing the Podfile or Package.swift)
v2.2.6 updated and crashed has been fixed. Thank you @dreampiggy
Xcode 13.0 iOS 15.0.2
The crash happens with me when setting the
isAnimating
to.constant(false)
. It happens when setting thecurrentFrame
tonil
which I think publishes an update. Solved the issue by checking if thecurrentFrame
is notnil
before nullifying it. Actually I don't have an idea why we should set it tonil
in thedeinit
.