From 86bc2020cb5fab7c7666df03e0c27f2fc2187c7c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 30 Jul 2022 14:33:39 +0200 Subject: [PATCH] Fix call to rpmalloc_thread_finalize in manual lifetime use-case. --- public/client/TracyThread.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/client/TracyThread.hpp b/public/client/TracyThread.hpp index 9b64ac4d..5638756a 100644 --- a/public/client/TracyThread.hpp +++ b/public/client/TracyThread.hpp @@ -24,7 +24,7 @@ public: ~ThreadExitHandler() { #ifdef TRACY_MANUAL_LIFETIME - rpmalloc_thread_finalize(); + rpmalloc_thread_finalize( 1 ); RpThreadInitDone = false; #endif }