diff --git a/ios/FastImage/FFFastImageView.m b/ios/FastImage/FFFastImageView.m index c5f79b431..9c0f1d3c1 100644 --- a/ios/FastImage/FFFastImageView.m +++ b/ios/FastImage/FFFastImageView.m @@ -1,5 +1,6 @@ #import "FFFastImageView.h" #import +#import @interface FFFastImageView() @@ -228,5 +229,8 @@ - (void)downloadImage:(FFFastImageSource *) source options:(SDWebImageOptions) o }]; } -@end +- (void)dealloc { + [self sd_cancelCurrentImageLoad]; +} +@end