Skip to content

Commit 0bdb786

Browse files
committed
Change the immutable frames array
1 parent 985c84b commit 0bdb786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDWebImage/Core/SDImageCoderHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ + (UIImage *)animatedImageWithFrames:(NSArray<SDImageFrame *> *)frames {
251251
}
252252
#endif
253253

254-
return frames;
254+
return [frames copy];
255255
}
256256

257257
+ (CGColorSpaceRef)colorSpaceGetDeviceRGB {

0 commit comments

Comments
 (0)