Skip to content

Commit

Permalink
Use subclassed NSCache
Browse files Browse the repository at this point in the history
  • Loading branch information
rromanchuk committed May 13, 2015
1 parent 4756d5d commit 78be42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImage/SDImageCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ - (id)initWithNamespace:(NSString *)ns {
_maxCacheAge = kDefaultCacheMaxCacheAge;

// Init the memory cache
_memCache = [[NSCache alloc] init];
_memCache = [[AutoPurgeCache alloc] init];
_memCache.name = fullNamespace;

// Init the disk cache
Expand Down

0 comments on commit 78be42e

Please sign in to comment.