From 3efe95d989fa4f58d3c319a9daa06d65c7a3303b Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Tue, 6 Sep 2016 09:20:13 -0700 Subject: [PATCH] Fix images not reloading after memory warning Reviewed By: mmmulani Differential Revision: D3816779 fbshipit-source-id: edccb41a38fff3b2c143ffb3cbe0a7001ee16331 --- Libraries/Image/RCTImageView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Image/RCTImageView.m b/Libraries/Image/RCTImageView.m index e6fb0f39b..0a2690218 100644 --- a/Libraries/Image/RCTImageView.m +++ b/Libraries/Image/RCTImageView.m @@ -214,6 +214,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init) [self cancelImageLoad]; [self.layer removeAnimationForKey:@"contents"]; self.image = nil; + _imageSource = nil; } - (void)clearImageIfDetached