Tadeu Zagallo 9228873fb4 [ReactNative] Fix racing conditions on reload
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.
2015-06-22 05:04:14 -08:00
..
2015-03-26 06:32:01 -07:00
2015-05-20 18:26:36 -08:00
2015-03-26 06:32:01 -07:00
2015-05-20 18:26:36 -08:00
2015-06-09 14:53:29 -08:00
2015-03-26 06:32:01 -07:00
2015-03-26 06:32:01 -07:00