From c18f122a588552ce5428a1bf9d83f31f82ab31ca Mon Sep 17 00:00:00 2001 From: Zhao Yiqi Date: Wed, 14 Jan 2015 11:29:48 +0800 Subject: [PATCH] fix 64bit crash --- SDWebImage/UIButton+WebCache.m | 1 - SDWebImage/UIImageView+WebCache.m | 1 - 2 files changed, 2 deletions(-) diff --git a/SDWebImage/UIButton+WebCache.m b/SDWebImage/UIButton+WebCache.m index 4cbf0c000..ed0d77c46 100644 --- a/SDWebImage/UIButton+WebCache.m +++ b/SDWebImage/UIButton+WebCache.m @@ -83,7 +83,6 @@ - (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placehold animation.type =kCATransitionFade; [sself.layer addAnimation:animation forKey:@"fade"]; } - [sself setImage:image forState:state]; } if (completedBlock && finished) { diff --git a/SDWebImage/UIImageView+WebCache.m b/SDWebImage/UIImageView+WebCache.m index 23a95f652..dad31d091 100644 --- a/SDWebImage/UIImageView+WebCache.m +++ b/SDWebImage/UIImageView+WebCache.m @@ -63,7 +63,6 @@ - (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder animation.type =kCATransitionFade; [wself.layer addAnimation:animation forKey:@"fade"]; } - wself.image = image; [wself setNeedsLayout]; } else {