Mercurial > hg > orthanc-stone
diff Framework/Loaders/WebAssemblyLoadersContext.cpp @ 1472:474360793956
DicomResourcesLoader::Create()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 16:26:57 +0200 |
parents | 0ca50d275b9a |
children |
line wrap: on
line diff
--- a/Framework/Loaders/WebAssemblyLoadersContext.cpp Mon Jun 15 12:57:54 2020 +0200 +++ b/Framework/Loaders/WebAssemblyLoadersContext.cpp Mon Jun 15 16:26:57 2020 +0200 @@ -79,9 +79,10 @@ unsigned int maxStandardPriority, unsigned int maxLowPriority) { + oracle_.GetOracleObservable(); scheduler_ = OracleScheduler::Create(oracle_, oracle_.GetOracleObservable(), oracle_, maxHighPriority, maxStandardPriority, maxLowPriority); - + if (!scheduler_) { throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);