mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 22:41:56 +08:00
Fix images not reloading after memory warning
Reviewed By: mmmulani Differential Revision: D3816779 fbshipit-source-id: edccb41a38fff3b2c143ffb3cbe0a7001ee16331
This commit is contained in:
committed by
Facebook Github Bot 0
parent
6e216d2034
commit
3efe95d989
@@ -214,6 +214,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init)
|
||||
[self cancelImageLoad];
|
||||
[self.layer removeAnimationForKey:@"contents"];
|
||||
self.image = nil;
|
||||
_imageSource = nil;
|
||||
}
|
||||
|
||||
- (void)clearImageIfDetached
|
||||
|
||||
Reference in New Issue
Block a user