Skip to content

Commit

Permalink
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions core/src/main/java/lucee/runtime/mvn/POM.java
Original file line number Diff line number Diff line change
@@ -144,7 +144,21 @@ private POM(Resource localDirectory, Collection<Repository> repositories, String
this.dependencyScope = dependencyScope;
this.log = log;

initXMLAsync();
cache.put(id(), this);

}

public void initXMLAsync() {
ThreadUtil.getThread(() -> {
synchronized (token) {
try {
initXML();
}
catch (IOException e) {
}
}
}, true).start();
}

void initXML() throws IOException {

0 comments on commit d089db1

Please sign in to comment.