diff --git a/SDWebImage/UIImageView+WebCache.m b/SDWebImage/UIImageView+WebCache.m index be289db8..b25a234f 100644 --- a/SDWebImage/UIImageView+WebCache.m +++ b/SDWebImage/UIImageView+WebCache.m @@ -134,9 +134,7 @@ static char animationLoadOperationKey; [operation cancel]; } } - for (size_t i = 0; i < operationsArray.count; i++) { - [operationsArray removePointerAtIndex:i]; - } + operationsArray.count = 0; } } }