Commit 960d3fd
committed
Prefer isolated copy of name string when copying Nicosia animations
The name StringImpl object can be shared with comositor thread
if animaton source object has name StringImpl with ref count 1 (and so
isSafeToSendToAnotherThread would return true). Which can lead to a
race in StingImpl ref/deref between main and compositor threads.1 parent 33bfbb4 commit 960d3fd
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments