Merge pull request #1549 from iOSPandaLee/master

Repair memory release in the iPad environment
This commit is contained in:
Bogdan Poplauschi 2016-05-08 18:35:47 +03:00
commit 1fba8d99f3
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {
_fileManager = [NSFileManager new];
});
#if TARGET_OS_IPHONE
#if TARGET_OS_IOS
// Subscribe to app events
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(clearMemory)