mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 17:27:54 +08:00
Remove referenced to dropped views
Reviewed By: ahmedre Differential Revision: D2757310 fb-gh-sync-id: 2ac97476823879d60dac63920f5e7f086872888a
This commit is contained in:
committed by
facebook-github-bot-7
parent
e5e846ab0a
commit
42a1620b1e
@@ -420,7 +420,7 @@ public class NativeViewHierarchyManager {
|
||||
/**
|
||||
* Releases all references to given native View.
|
||||
*/
|
||||
private void dropView(View view) {
|
||||
protected final void dropView(View view) {
|
||||
UiThreadUtil.assertOnUiThread();
|
||||
if (!mRootTags.get(view.getId())) {
|
||||
// For non-root views we notify viewmanager with {@link ViewManager#onDropInstance}
|
||||
|
||||
Reference in New Issue
Block a user