mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Implement remove root view operations
Summary: This diff implements the removal of react root view inside fabric cxx implementation Reviewed By: shergin Differential Revision: D8939942 fbshipit-source-id: 69835b55c80e2970d65220d947489bc1af4b125d
This commit is contained in:
committed by
Facebook Github Bot
parent
596f17efda
commit
f9c86f05e9
@@ -547,6 +547,7 @@ public class FabricUIManager implements UIManager, JSHandler, FabricBinder {
|
||||
}
|
||||
|
||||
public void removeRootView(int rootTag) {
|
||||
mUIViewOperationQueue.enqueueRemoveRootView(rootTag);
|
||||
mRootShadowNodeRegistry.removeNode(rootTag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user