mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user