Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax the requirement that lazy module cannot be initialized on the m…
…ain thread Summary: [RN] Relax the requirement that lazy module cannot be initialized on the main thread I tried to understand the D5364734 that intoduced this, and I am not sure, but belive that asserting here is too strict. If you have a module that you want to lazily initialize, and module does not demand the main queue, it should be just a warning if you run on the main queue, not necessarily an error. Reviewed By: mmmulani Differential Revision: D10429880 fbshipit-source-id: 018c211d45b98dd8c552bf0289fe517d05e56d47
- Loading branch information