Mercurial > hg > orthanc
changeset 6351:add962490217
fix log
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Fri, 24 Oct 2025 14:26:52 +0200 |
| parents | b98d11169577 |
| children | 288bfdf03d95 |
| files | OrthancServer/Sources/ServerJobs/ArchiveJob.cpp |
| diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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> instanceToPreload(dynamic_cast<InstanceToPreload*>(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
