forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix leak in Nodes due to removeClippedSubviews
Summary: The removeClippedSubviews optimization often detaches views while maintaining strong references to them (so they can be attached again later on). However, when removing the parent view, any detached views end up not being cleaned up or removed, thus leaking memory. This fixes this by explicitly dropping detached views when the parent is removed. Reviewed By: astreet Differential Revision: D3337513
- Loading branch information
Ahmed El-Helw
committed
Dec 19, 2016
1 parent
c62840c
commit efb65e5
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters