Mercurial > hg > orthanc-python
diff Sources/Autogenerated/sdk_OrthancPluginJob.methods.h @ 184:f34f3a149c22 java-code-model
added class PythonThreadsAllower
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jul 2024 15:49:05 +0200 |
parents | 194ba7d6e0f4 |
children | 55473de7694f |
line wrap: on
line diff
--- a/Sources/Autogenerated/sdk_OrthancPluginJob.methods.h Tue Jul 02 14:52:20 2024 +0200 +++ b/Sources/Autogenerated/sdk_OrthancPluginJob.methods.h Tue Jul 02 15:49:05 2024 +0200 @@ -19,7 +19,10 @@ } OrthancPlugins::OrthancString s; - s.Assign(OrthancPluginSubmitJob(OrthancPlugins::GetGlobalContext(), self->object_, arg0)); + { + PythonThreadsAllower allower; + s.Assign(OrthancPluginSubmitJob(OrthancPlugins::GetGlobalContext(), self->object_, arg0)); + } if (s.GetContent() == NULL) {