remove duplicate code in FabricUIManager

Summary:
remove duplicate code in FabricUIManager

The removed line is already called few lines above

changelog: [internal] internal

Reviewed By: JoshuaGross

Differential Revision: D34553849

fbshipit-source-id: 2e0102a77e7464c9803fb1175385fdafbb88f1fa
This commit is contained in:
David Vacca
2022-03-01 14:56:44 -08:00
committed by Facebook GitHub Bot
parent 6a4e905e3a
commit ec27141b93
@@ -428,11 +428,6 @@ public class FabricUIManager implements UIManager, LifecycleEventListener {
mReactApplicationContext.removeLifecycleEventListener(this);
onHostPause();
// This is not technically thread-safe, since it's read on the UI thread and written
// here on the JS thread. We've marked it as volatile so that this writes to UI-thread
// memory immediately.
mDispatchUIFrameCallback.stop();
mBinding.unregister();
mBinding = null;