Fix call to rpmalloc_thread_finalize in manual lifetime use-case.

This commit is contained in:
Bartosz Taudul 2022-07-30 14:33:39 +02:00
parent 52643fcd2a
commit 86bc2020cb
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -24,7 +24,7 @@ public:
~ThreadExitHandler()
{
#ifdef TRACY_MANUAL_LIFETIME
rpmalloc_thread_finalize();
rpmalloc_thread_finalize( 1 );
RpThreadInitDone = false;
#endif
}