mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: @public That was eventually being released before all the queues had been cleared. Update it so the each modules' queue is immediately invalidated after sending the `-invalidate` message to it, and introduce an intentional retain cycle so the bridge is only released together with all modules, when all the messages have been dispatched. Test Plan: Launch the UIExplorer, and reload it, like, a lot.