FabricUIManager: clear out mReactContextForRootTag when stopSurface is called

Summary:
See title.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D21895453

fbshipit-source-id: c6519b39a2b300e5d83d06164a31c3b494cf411f
This commit is contained in:
Joshua Gross
2020-06-05 17:13:35 -07:00
committed by Facebook GitHub Bot
parent d821a9f2a0
commit b6fedfe179
@@ -244,6 +244,7 @@ public class FabricUIManager implements UIManager, LifecycleEventListener {
@ThreadConfined(ANY)
public void stopSurface(int surfaceID) {
mBinding.stopSurface(surfaceID);
mReactContextForRootTag.remove(surfaceID);
}
@Override