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-06-15 07:52:50 -08:00
2015-06-15 07:52:50 -08:00
2015-06-15 13:05:52 -08:00
2015-06-22 05:04:14 -08:00
2015-06-19 04:20:39 -08:00
2015-03-26 06:32:01 -07:00
2015-06-15 07:52:50 -08:00
2015-06-05 09:58:25 -08:00
2015-06-15 07:52:50 -08:00
2015-06-15 07:52:50 -08:00
2015-06-03 16:42:23 -08:00
2015-06-19 07:44:23 -08:00
2015-05-27 20:41:20 -08:00
2015-06-15 13:05:52 -08:00
2015-05-20 18:26:36 -08:00
2015-06-15 07:52:50 -08:00
2015-04-15 07:07:48 -08:00
2015-03-26 10:33:05 -08:00
2015-06-15 07:52:50 -08:00
2015-05-04 10:36:20 -08:00
2015-06-15 07:52:50 -08:00
2015-04-08 05:45:20 -08:00
2015-03-26 06:32:01 -07:00
2015-06-19 08:13:29 -08:00
2015-06-15 07:52:50 -08:00
2015-06-15 07:52:50 -08:00
2015-06-19 15:01:35 -08:00
2015-06-19 15:01:35 -08:00
2015-05-20 18:26:36 -08:00
2015-06-17 14:10:52 -08:00
2015-06-17 05:57:10 -08:00
2015-06-15 13:04:25 -08:00
2015-06-09 14:53:29 -08:00
2015-06-15 07:52:50 -08:00
2015-05-28 13:20:46 -08:00
2015-06-19 15:01:35 -08:00
2015-03-26 06:32:01 -07:00
2015-03-26 06:32:01 -07:00
2015-04-17 04:01:02 -08:00
2015-06-15 13:05:52 -08:00
2015-06-09 12:27:06 -08:00
2015-06-09 12:27:06 -08:00
2015-06-15 07:52:50 -08:00
2015-06-15 07:52:50 -08:00