Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Singleton/ThreadLocal destruction order crashes in buck dev builds
Summary: This adds a folly::Singleton->folly::ThreadLocal dependency to make sure folly::ThreadLocal is always loaded first. Otherwise PthreadKeyUnregister singleton is created after folly::Singleton storage, even though it has higher priority. Reviewed By: andrewjcg Differential Revision: D2931170 fb-gh-sync-id: 36392d76e98201f2b4416b4bbef451d6c0e8c69d shipit-source-id: 36392d76e98201f2b4416b4bbef451d6c0e8c69d
- Loading branch information