bugfix: cancel image request when reset
This commit is contained in:
parent
4cfb7b4076
commit
f6254304e0
@ -767,6 +767,12 @@ - (void)reset {
|
||||
#endif
|
||||
self.animationEndCallbackId = nil;
|
||||
}
|
||||
|
||||
#if DORIC_USE_YYWEBIMAGE
|
||||
[self.view yy_cancelCurrentImageRequest];
|
||||
#elif DORIC_USE_SDWEBIMAGE
|
||||
[self.view sd_cancelCurrentImageLoad];
|
||||
#endif
|
||||
}
|
||||
|
||||
- (BOOL)needReload {
|
||||
|
Reference in New Issue
Block a user