Skip to content

Commit ec27141

Browse files
mdvaccafacebook-github-bot
authored andcommitted
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
1 parent 6a4e905 commit ec27141

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java

-5
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,6 @@ public void onCatalystInstanceDestroy() {
428428
mReactApplicationContext.removeLifecycleEventListener(this);
429429
onHostPause();
430430

431-
// This is not technically thread-safe, since it's read on the UI thread and written
432-
// here on the JS thread. We've marked it as volatile so that this writes to UI-thread
433-
// memory immediately.
434-
mDispatchUIFrameCallback.stop();
435-
436431
mBinding.unregister();
437432
mBinding = null;
438433

0 commit comments

Comments
 (0)