Fix bug in SDWebImagePrefetcher where startPrefetchingAtIndex would never be called due to is always being 0
This commit is contained in:
parent
1ec36c7c99
commit
44c6224763
|
@ -88,7 +88,7 @@
|
|||
|
||||
// Starts prefetching from the very first image on the list with the max allowed concurrency
|
||||
NSUInteger listCount = self.prefetchURLs.count;
|
||||
for (NSUInteger i = 0; i < self.maxConcurrentDownloads && self.requestedCount < listCount; i++)
|
||||
for (NSUInteger i = 0; i < self.manager.imageDownloader.maxConcurrentDownloads && self.requestedCount < listCount; i++)
|
||||
{
|
||||
[self startPrefetchingAtIndex:i];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue