Skip to content

Commit

Permalink
Merge branch '63d60d9'
Browse files Browse the repository at this point in the history
  • Loading branch information
prkoat committed Oct 1, 2013
2 parents 9820caf + 63d60d9 commit 83f476b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions SDWebImage/UIImageView+WebCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder opt
if (!wself) return;
dispatch_main_sync_safe(^
{
__strong UIImageView *sself = wself;
if (!sself) return;
if (!wself) return;
if (image)
{
sself.image = image;
[sself setNeedsLayout];
wself.image = image;
[wself setNeedsLayout];
}
if (completedBlock && finished)
{
Expand Down

0 comments on commit 83f476b

Please sign in to comment.