Files
react-native/ReactCommon/react/renderer
Samuel Susla d1e75517d1 Use atomic pointer to prevent race during teardown
Summary:
Changelog: [internal]

[This assumption](https://fburl.com/diffusion/yeqtvxru) in `~Scheduler` might not be completely correct. There can be a race between JS thread and main thread. With main thread settings delegate_ to nullptr and JS thread reading the value. Even though they always happen one after the other, JS thread can have the value of delegate_ in its cache line and changing it from main thread might not invalidate it right away.

Reviewed By: mdvacca

Differential Revision: D29233092

fbshipit-source-id: 390e773283a745742d78152b9921c9ce21148a4c
2021-06-18 14:53:28 -07:00
..
2021-06-07 17:11:55 -07:00
2021-06-14 04:19:36 -07:00
2021-05-12 12:35:33 -07:00
2021-04-01 04:50:59 -07:00
2021-06-07 17:11:55 -07:00
2021-04-01 04:50:59 -07:00