Fix images not reloading after memory warning

Reviewed By: mmmulani

Differential Revision: D3816779

fbshipit-source-id: edccb41a38fff3b2c143ffb3cbe0a7001ee16331
This commit is contained in:
Pieter De Baets 2016-09-06 09:20:13 -07:00 committed by Facebook Github Bot 0
parent 6e216d2034
commit 3efe95d989
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init)
[self cancelImageLoad];
[self.layer removeAnimationForKey:@"contents"];
self.image = nil;
_imageSource = nil;
}
- (void)clearImageIfDetached