Initialize rpmalloc in compression thread.

This commit is contained in:
Bartosz Taudul 2019-06-27 18:11:52 +02:00
parent 10bcc8c770
commit 3d590b6b8c

View File

@ -1400,6 +1400,7 @@ void Profiler::Worker()
void Profiler::CompressWorker()
{
rpmalloc_thread_initialize();
for(;;)
{
const auto shouldExit = ShouldExit();