summaryrefslogtreecommitdiffstats
path: root/source/core/slang-performance-profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-performance-profiler.cpp')
-rw-r--r--source/core/slang-performance-profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-performance-profiler.cpp b/source/core/slang-performance-profiler.cpp
index f5f74f99d..5b62cbf73 100644
--- a/source/core/slang-performance-profiler.cpp
+++ b/source/core/slang-performance-profiler.cpp
@@ -46,7 +46,7 @@ namespace Slang
PerformanceProfiler* Slang::PerformanceProfiler::getProfiler()
{
- static PerformanceProfilerImpl profiler = PerformanceProfilerImpl();
+ thread_local static PerformanceProfilerImpl profiler = PerformanceProfilerImpl();
return &profiler;
}
}