未验证 提交 8d558cb7 编写于 作者: K Kinarobin 提交者: GitHub

Merge pull request #3304 from mmdock/patch-2

Don't copy image data
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册