# HG changeset patch # User Alain Mazy # Date 1781710491 -7200 # Node ID 9e6a841aecc111b0ca099e1c11c9052d1afbc14d # Parent 07201dc3b5b8850d22f99f8c3404364e55e9743f don't reuse twice the same threadname diff -r 07201dc3b5b8 -r 9e6a841aecc1 OrthancFramework/Sources/MultiThreading/ThreadPool.cpp --- a/OrthancFramework/Sources/MultiThreading/ThreadPool.cpp Wed Jun 17 10:37:44 2026 +0200 +++ b/OrthancFramework/Sources/MultiThreading/ThreadPool.cpp Wed Jun 17 17:34:51 2026 +0200 @@ -237,7 +237,7 @@ void ThreadPool::WorkerLoop(const std::string& threadName) { - Logging::SetCurrentThreadName(threadName); + Logging::ScopedThreadNameSetter setter(threadName); while (true) {