Skip to content

Commit

Permalink
SDWebImageManager uses the shared instance of SDWebImageDownloader. T…
Browse files Browse the repository at this point in the history
…his was requested by several developers for easier setup of their downloads. Replaces #486
  • Loading branch information
bpoplauschi committed Jun 16, 2014
1 parent 2278205 commit 0772019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImage/SDWebImageManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ + (id)sharedManager {
- (id)init {
if ((self = [super init])) {
_imageCache = [self createCache];
_imageDownloader = [SDWebImageDownloader new];
_imageDownloader = [SDWebImageDownloader sharedDownloader];
_failedURLs = [NSMutableArray new];
_runningOperations = [NSMutableArray new];
}
Expand Down

0 comments on commit 0772019

Please sign in to comment.