mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: In D17880909 I migrated `[bridge reload]` to RCTReloadCommand. One thing I didn't consider too much is the plethora of things which trigger a reload, and the `RCTAssertMainQueue()` constraint. I'd rather use locking (to protect listeners list) than requiring reloads be called from main thread. Changelog: [iOS][Fixed] Fix potential assert firing in RCTReloadCommand Reviewed By: rodrigos-facebook Differential Revision: D18353156 fbshipit-source-id: d20b851fc5fe6c3518dfa3db8f1fc075cf7edee9