mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
Fix images not reloading after memory warning
Reviewed By: mmmulani Differential Revision: D3816779 fbshipit-source-id: edccb41a38fff3b2c143ffb3cbe0a7001ee16331
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user