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

Unsafe setImage in setImageWithURL: #895

Closed
skrew opened this issue Sep 12, 2014 · 1 comment
Closed

Unsafe setImage in setImageWithURL: #895

skrew opened this issue Sep 12, 2014 · 1 comment
Labels
Milestone

Comments

@skrew
Copy link
Contributor

skrew commented Sep 12, 2014

Hi,

In UIImageView+WebCache.m, line 45, you set placeholder image without dispatch_main_async_safe

if (!(options & SDWebImageDelayPlaceholder)) {
    self.image = placeholder;
}

It cause crash or losing all animations in application.

@bpoplauschi
Copy link
Member

Fixed by #896. Thanks @skrew

@bpoplauschi bpoplauschi added this to the 4.0.0 milestone Sep 22, 2014
@bpoplauschi bpoplauschi modified the milestones: 3.7.2, 4.0.0 Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants