commit
8d558cb79f
|
@ -423,7 +423,7 @@ didReceiveResponse:(NSURLResponse *)response
|
|||
// Progressive decoding Only decode partial image, full image in `URLSession:task:didCompleteWithError:`
|
||||
if (supportProgressive && !finished) {
|
||||
// Get the image data
|
||||
NSData *imageData = [self.imageData copy];
|
||||
NSData *imageData = self.imageData;
|
||||
|
||||
// keep maximum one progressive decode process during download
|
||||
if (self.coderQueue.operationCount == 0) {
|
||||
|
|
Loading…
Reference in New Issue