diff --git a/SDWebImage/SDWebImageDownloader.m b/SDWebImage/SDWebImageDownloader.m index d8fb9ca..dcc303e 100644 --- a/SDWebImage/SDWebImageDownloader.m +++ b/SDWebImage/SDWebImageDownloader.m @@ -104,7 +104,8 @@ static NSString *const kCompletedCallbackKey = @"completed"; _downloadQueue.maxConcurrentOperationCount = maxConcurrentDownloads; } -- (NSUInteger)currentDownloadCount { +- (NSUInteger)currentDownloadCount +{ return _downloadQueue.operationCount; }