From 9b30fe0c45c8d406412054c6ce937d3396d90fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Thu, 17 Jul 2025 12:18:52 -0700 Subject: [PATCH] Back out "Add missing attempts++ in ShadowNode with MAX_COMMIT_ATTEMPTS_BEFORE_LOCKING" (#52680) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52680 Changelog: [internal] Reverting to make the fix easier to pick. Will land again on top. Original commit changeset: 91d7f5d88a90 Original Phabricator Diff: D78487202 Reviewed By: cortinico Differential Revision: D78497511 fbshipit-source-id: 58379787786cadcbcbe354feb97bc400a24f9d58 --- .../ReactCommon/react/renderer/mounting/ShadowTree.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-native/ReactCommon/react/renderer/mounting/ShadowTree.cpp b/packages/react-native/ReactCommon/react/renderer/mounting/ShadowTree.cpp index 1324cb6b9ef..079b55c171f 100644 --- a/packages/react-native/ReactCommon/react/renderer/mounting/ShadowTree.cpp +++ b/packages/react-native/ReactCommon/react/renderer/mounting/ShadowTree.cpp @@ -251,7 +251,6 @@ CommitStatus ShadowTree::commit( if (status != CommitStatus::Failed) { return status; } - attempts++; } {