comparison 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
comparison
equal deleted inserted replaced
1471:28c64c246312 1472:474360793956
77 77
78 WebAssemblyLoadersContext::WebAssemblyLoadersContext(unsigned int maxHighPriority, 78 WebAssemblyLoadersContext::WebAssemblyLoadersContext(unsigned int maxHighPriority,
79 unsigned int maxStandardPriority, 79 unsigned int maxStandardPriority,
80 unsigned int maxLowPriority) 80 unsigned int maxLowPriority)
81 { 81 {
82 oracle_.GetOracleObservable();
82 scheduler_ = OracleScheduler::Create(oracle_, oracle_.GetOracleObservable(), oracle_, 83 scheduler_ = OracleScheduler::Create(oracle_, oracle_.GetOracleObservable(), oracle_,
83 maxHighPriority, maxStandardPriority, maxLowPriority); 84 maxHighPriority, maxStandardPriority, maxLowPriority);
84 85
85 if (!scheduler_) 86 if (!scheduler_)
86 { 87 {
87 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); 88 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
88 } 89 }
89 } 90 }