# HG changeset patch # User Alain Mazy # Date 1761308812 -7200 # Node ID add962490217dce6d7b5d0d6997853b87c9945e6 # Parent b98d111695779001c49c3c24cf932b6d4496768e fix log diff -r b98d11169577 -r add962490217 OrthancServer/Sources/ServerJobs/ArchiveJob.cpp --- a/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp Fri Oct 24 11:51:42 2025 +0200 +++ b/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp Fri Oct 24 14:26:52 2025 +0200 @@ -249,6 +249,7 @@ std::unique_ptr instanceToPreload(dynamic_cast(that->instancesToPreload_.Dequeue(0))); if (instanceToPreload.get() == NULL) // that's the signal to exit the thread { + LOG(INFO) << "Loader thread has completed"; return; } @@ -293,8 +294,6 @@ that->availableInstancesSemaphore_.Release(); } } - - LOG(INFO) << "Loader thread has completed"; } virtual void PrepareDicom(const std::string& instanceId, const FileInfo& fileInfo) ORTHANC_OVERRIDE