Commit f20bec8
Fix crash in RCTTextView related to NSLayoutManager
Summary: In a prior diff we removed some code that fixed an occasional crash in RCTTextView. This diff brings back the code, adapted from microsoft#523.
Test Plan:
Open the Text section of RNTester several times and verify no crash:
|Before|After|
|{F612971452}|{F612971479}|
Reviewers: skyle
Reviewed By: skyle
Subscribers: eliwhite
Differential Revision: https://phabricator.intern.facebook.com/D28166631
Tasks: T78743077
Signature: 28166631:1620086528:d359ab6e0c3477f2e52784534b6763156b33b1e51 parent bb7ea1d commit f20bec8
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
234 | 245 | | |
235 | 246 | | |
236 | 247 | | |
| |||
0 commit comments