From 9657bdec72a94dd6237c65d151d20a0e1dd7dfc6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 12 Oct 2022 23:51:50 +0200 Subject: [PATCH] Initialize rpmalloc properly in symbol worker. --- public/client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index f1f44b5c..2af76b8f 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -3264,7 +3264,7 @@ void Profiler::SymbolWorker() ThreadExitHandler threadExitHandler; SetThreadName( "Tracy Symbol Worker" ); #ifdef TRACY_USE_RPMALLOC - rpmalloc_thread_initialize(); + InitRpmalloc(); #endif InitCallstack(); while( m_timeBegin.load( std::memory_order_relaxed ) == 0 ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );