diff Plugins/Engine/OrthancPlugins.cpp @ 2813:6d5b20af216f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Sep 2018 18:24:44 +0200
parents 37583cd183ed
children 7d1d3136f6cf
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Thu Sep 06 16:23:40 2018 +0200
+++ b/Plugins/Engine/OrthancPlugins.cpp	Thu Sep 06 18:24:44 2018 +0200
@@ -2886,6 +2886,8 @@
         PImpl::ServerContextLock lock(*pimpl_);
         lock.GetContext().GetJobsEngine().GetRegistry().Submit(uuid, new PluginsJob(p), p.priority_);
         
+        *p.resultId_ = CopyString(uuid);
+
         return true;
       }