diff --git a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m index 2b2489df..8c72965c 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m @@ -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 {