-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
[RCTUIManager viewForReactTag:]
instead of viewRegistry
to av…
…oid infinite loop in `[RCTComponentViewRegistry objectForKey:]` (#5957) ## Summary This PR fixes the following infinite loop: ![obraz](https://github.com/software-mansion/react-native-reanimated/assets/20516055/196f62a3-1e8b-411f-9d66-3e3946dc406f) For details, see expo/expo#28531. ## Test plan 1. Build Example app on iOS Paper on 0.74.0 2. Open Bokeh example 3. Go back 4. Reload the app by pressing <kbd>r</kbd> in Metro console 5. Repeat steps 2-4 several times 6. When the app hangs, press pause button in Xcode debugger
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters