mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Initialize rpmalloc in compression thread.
This commit is contained in:
@@ -1400,6 +1400,7 @@ void Profiler::Worker()
|
|||||||
|
|
||||||
void Profiler::CompressWorker()
|
void Profiler::CompressWorker()
|
||||||
{
|
{
|
||||||
|
rpmalloc_thread_initialize();
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
const auto shouldExit = ShouldExit();
|
const auto shouldExit = ShouldExit();
|
||||||
|
|||||||
Reference in New Issue
Block a user