Commit 8869fa4
Fix stale reference to ReactViewGroup#mAllChildren (#47950)
Summary:
Pull Request resolved: #47950
`addInArray` may reallocate `mAllChildren` so it's not correct to store this reference.
Changelog: [Internal]
Reviewed By: tdn120
Differential Revision: D66474532
fbshipit-source-id: 90ce2fcbf8ff236501ed47b2acc413e54ef8b82a1 parent 84adf26 commit 8869fa4
File tree
1 file changed
+3
-2
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view
1 file changed
+3
-2
lines changedpackages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
642 | | - | |
643 | 641 | | |
| 642 | + | |
644 | 643 | | |
645 | 644 | | |
| 645 | + | |
| 646 | + | |
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
| |||
0 commit comments