changeset 2813:6d5b20af216f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Sep 2018 18:24:44 +0200
parents ea7aea6f6a95
children 7d1d3136f6cf
files Plugins/Engine/OrthancPlugins.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
       }