mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c0108a269d
Summary: We're seeing intermittent crashes in ~Bridge() where m_destroyed isn't set. This could be because the value of m_destroyed is cached for the destructing thread and doesn't see that the value got updated. Using an atomic boolean should fix this. Reviewed By: mhorowitz Differential Revision: D3126701 fb-gh-sync-id: 5887edef748cc05971765943de80187ab7fd8ede fbshipit-source-id: 5887edef748cc05971765943de80187ab7fd8ede