Skip to content

Commit

Permalink
Fix images not reloading after memory warning
Browse files Browse the repository at this point in the history
Reviewed By: mmmulani

Differential Revision: D3816779

fbshipit-source-id: edccb41a38fff3b2c143ffb3cbe0a7001ee16331
  • Loading branch information
javache authored and Facebook Github Bot 0 committed Sep 6, 2016
1 parent 6e216d2 commit 3efe95d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/Image/RCTImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ - (void)clearImage
[self cancelImageLoad];
[self.layer removeAnimationForKey:@"contents"];
self.image = nil;
_imageSource = nil;
}

- (void)clearImageIfDetached
Expand Down

0 comments on commit 3efe95d

Please sign in to comment.