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