mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 09:12:46 +08:00
Summary: registering with systrace checks if the bridge is initialized, which it's not yet in the ctor. Defer registration until after the bridge is created, and only unregister in that case. public Reviewed By: astreet, dreiss Differential Revision: D2651244 fb-gh-sync-id: 8da1108e9d15fddde48d06f4ed61ee0f787016ad