-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
SDWebImageDownloaderOperation isFinished - race condition #3275
Comments
Need to synchronize the getter and setter. |
@ganeshAir How about using the latest version 5.11.1 ? |
Issue is happening in the latest version as well. |
@ganeshAir Reproduce demo, thanks. |
There is no straight forward scenario to share a demo. But one solution I
can suggest is to reproduce is enable thread sanitizer and run in Xcode.
And also clearly visible the property is nonatomic. If you declare it as
atomic this issue might resolve.
Thanks & Regards,
Ganesh TR
…On Tue, Sep 28, 2021 at 6:11 PM Kinarobin ***@***.***> wrote:
@ganeshAir <https://github.com/ganeshAir> Reproduce demo, thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3275 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV2KAS6WB5H7OU66DJQB64LUEGZWHANCNFSM5E426QBA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Disclaimer:
This email and any files transmitted with it are
confidential and may be privileged. It is intended solely for the above
addressee. If you have received it in error please delete it and notify the
sender. The unauthorized use, disclosure, copying, alteration or
dissemination of any information in this e-mail is strictly forbidden.
AirAsia and its affiliates accepts no liability whatsoever that may arise
from or in connection with this e-mail and/or its contents.
AirAsia Group
promotes all aspects of Proper Corporate Governance through Policies and
Procedures. We inculcate a Zero-Tolerance Policy for any act of Bribery
and/or Corruption.
--
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions. |
Seems this SDAsyncBlockOperation need a synchronized solution for that isFinished property, will fix in 5.15.1 |
In this example, the issue happends because This may a case when ImageManager has already cache the image in memory cache, so it callback in sync but not async, cause logic error |
New Issue Checklist
Issue Info
Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
The text was updated successfully, but these errors were encountered: