Fix leak in Nodes due to removeClippedSubviews

Reviewed By: astreet

Differential Revision: D3337513

fbshipit-source-id: b7b798f024488cd19cdcf93aee7f99eed512dd6a
This commit is contained in:
Ahmed El-Helw
2016-05-24 14:48:23 -07:00
committed by Facebook Github Bot 8
parent 0a027167de
commit caa2baee9d

View File

@@ -466,7 +466,7 @@ public class NativeViewHierarchyManager {
/**
* Releases all references to given native View.
*/
protected final void dropView(View view) {
protected void dropView(View view) {
UiThreadUtil.assertOnUiThread();
if (!mRootTags.get(view.getId())) {
// For non-root views we notify viewmanager with {@link ViewManager#onDropInstance}