feat(ios): cancel image load when unmounted (#787)
This commit is contained in:
parent
908267f788
commit
f1588beec0
|
@ -1,5 +1,6 @@
|
|||
#import "FFFastImageView.h"
|
||||
#import <SDWebImage/UIImage+MultiFormat.h>
|
||||
#import <SDWebImage/UIView+WebCache.h>
|
||||
|
||||
@interface FFFastImageView()
|
||||
|
||||
|
@ -228,5 +229,8 @@
|
|||
}];
|
||||
}
|
||||
|
||||
@end
|
||||
- (void)dealloc {
|
||||
[self sd_cancelCurrentImageLoad];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue