Skip to content

Commit

Permalink
remove duplicate code in FabricUIManager
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Mar 1, 2022
1 parent 6a4e905 commit ec27141
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -428,11 +428,6 @@ public void onCatalystInstanceDestroy() {
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;

Expand Down

0 comments on commit ec27141

Please sign in to comment.