# HG changeset patch # User Alain Mazy # Date 1769526688 -3600 # Node ID eb15d14693a2882650bc94c51868dd8c90c63c06 # Parent 9b74c809919266b920cb970f3f7d345beb9280dd# Parent 06243936d555180a237571d18d5a2b0d229ff846 merge diff -r 06243936d555 -r eb15d14693a2 Sources/OnChangeCallback.cpp --- a/Sources/OnChangeCallback.cpp Fri Jan 02 13:19:17 2026 +0100 +++ b/Sources/OnChangeCallback.cpp Tue Jan 27 16:11:28 2026 +0100 @@ -173,6 +173,8 @@ static void ChangesWorker() { + OrthancPluginSetCurrentThreadName(OrthancPlugins::GetGlobalContext(), "PY-CHANGES"); + while (!stopping_) { for (;;) diff -r 06243936d555 -r eb15d14693a2 Sources/Plugin.cpp --- a/Sources/Plugin.cpp Fri Jan 02 13:19:17 2026 +0100 +++ b/Sources/Plugin.cpp Tue Jan 27 16:11:28 2026 +0100 @@ -590,6 +590,8 @@ static void DisplayMemoryUsageThread() { + OrthancPluginSetCurrentThreadName(OrthancPlugins::GetGlobalContext(), "PY-MEMORY"); + { PythonLock lock; lock.ExecuteCommand("import tracemalloc");