mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
a4ef7abebb
Summary: When `RCTImageView` is removed from the view hierarchy, it clears out its `image` to save memory. This makes sense, except that it gets removed from the window (view hierarchy) even when becoming the child of another view. This fixes the logic so that it only clears out the image if the view hasn't been moved somewhere else within one frame. @public Reviewed By: @javache Differential Revision: D2493849