mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
a4e89d71a3
Summary: D2052669 introduced a block for objects that had to be invalidated on the main thread, but after the JS thread objects, but the block was being dispatched on the JS thread. @public Test Plan: I added `RCTAssertMainThread()` to the `mainThreadInvalidate` block, it was crashing on reload, but now it should work as expected.