From cfb65f2d751d81b7a57a1818c0a907d028b7535c Mon Sep 17 00:00:00 2001 From: Alex Burgel Date: Fri, 4 Jan 2013 16:45:09 -0500 Subject: [PATCH] Change SDWebImageManager to use shared image cache --- SDWebImage/SDWebImageManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageManager.m b/SDWebImage/SDWebImageManager.m index ca86f768..d47852ab 100644 --- a/SDWebImage/SDWebImageManager.m +++ b/SDWebImage/SDWebImageManager.m @@ -39,7 +39,7 @@ { if ((self = [super init])) { - _imageCache = SDImageCache.new; + _imageCache = [SDImageCache sharedImageCache]; _imageDownloader = SDWebImageDownloader.new; _failedURLs = NSMutableArray.new; _runningOperations = NSMutableArray.new;