[AltStore] Fixes potential endless loading of remote images

This commit is contained in:
Riley Testut
2019-08-27 16:00:59 -07:00
parent 7d48b831ed
commit d45f052f16
4 changed files with 4 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ private extension BrowseViewController
return RSTAsyncBlockOperation() { (operation) in
ImagePipeline.shared.loadImage(with: iconURL, progress: nil, completion: { (response, error) in
guard !operation.isCancelled else { return }
guard !operation.isCancelled else { return operation.finish() }
if let image = response?.image
{