mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-06 03:19:15 +00:00
don't reload an already loaded package
This commit is contained in:
parent
9e422a1a2e
commit
cef25b4bf0
@ -420,6 +420,9 @@ public class SimpleWorkerContext extends BaseWorkerContext implements IWorkerCon
|
||||
if (progress) {
|
||||
System.out.println("Load Package "+pi.name()+"#"+pi.version());
|
||||
}
|
||||
if (loadedPackages.contains(pi.id()+"#"+pi.version())) {
|
||||
return 0;
|
||||
}
|
||||
loadedPackages.add(pi.id()+"#"+pi.version());
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user