diff options
-rw-r--r-- | lib/xray/xray_inmemory_log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xray/xray_inmemory_log.cc b/lib/xray/xray_inmemory_log.cc index b70d6ecd0..a27ffbcbd 100644 --- a/lib/xray/xray_inmemory_log.cc +++ b/lib/xray/xray_inmemory_log.cc @@ -459,7 +459,7 @@ bool basicLogDynamicInitializer() XRAY_NEVER_INSTRUMENT { sizeof(BasicLoggingOptions)); static auto UNUSED Once = [] { static auto UNUSED &TLD = getThreadLocalData(); - atexit(+[] { TLDDestructor(&TLD); }); + __sanitizer::Atexit(+[] { TLDDestructor(&TLD); }); return false; }(); } |