Skip to content

Commit ca3a6e8

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Uninstalling native FabricUIManager when reloading RN screen
Summary: This diff makes sure the native side of the UILayer of RN is deallocated when the a RN screen is reloaded. Reviewed By: shergin Differential Revision: D10343030 fbshipit-source-id: 7add841b8875d28fe527f20b96f799733769b11a
1 parent 9817f85 commit ca3a6e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ReactAndroid/src/main/java/com/facebook/react/fabric/FabricBinding.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
public interface FabricBinding {
1212

1313
// TODO: T31905686 change types of UIManager and EventBeatManager when moving to OSS
14-
void installFabric(
14+
void register(
1515
JavaScriptContextHolder jsContext, FabricBinder fabricBinder, Object eventBeatManager);
1616

17+
void unregister();
1718
}

0 commit comments

Comments
 (0)