Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race in TraceSection.h (facebook#48774)
Summary: [Changelog] [Internal] - Fix data race in TraceSection.h ## Issue The `instrumentsLogHandle` variable is a static variable that is initialized lazily when the `getOrCreateInstrumentsLogHandle()` function is called. However, this initialization is not thread-safe. Multiple threads may call this function simultaneously, leading to a data race on the `instrumentsLogHandle` variable. Differential Revision: D68366837
- Loading branch information