Nick Lockwood 64edddadcc Fixed race condition in RCTModuleData.methodQueue
Summary:
public
The implementation of the `methodQueue` lazy initializer in `RCTModuleData` could result in the queue being set twice, because calling `methodQueue` for a module that hasn't been instantiated would call `RCTModuleData.instance` to create the module, which itself calls `methodQueue`.

It's not clear if this was causing a bug, but it may be related to an occasional bug where the `RCTViewManager.methodQueue` returns nil.

Reviewed By: majak

Differential Revision: D2783320

fb-gh-sync-id: 9194da0fd7392f63825da1f5c450363dd300b635
2016-01-04 06:24:28 -08:00
..
2015-12-15 10:51:33 -08:00
2015-12-28 16:44:59 -08:00
2015-12-28 16:45:07 -08:00
2015-09-18 15:04:28 -07:00
2015-11-02 09:15:31 -08:00
2015-12-08 03:32:30 -08:00
2015-03-26 06:32:01 -07:00
2015-11-11 06:44:30 -08:00