ECS: make library lookup thread safe

This commit is contained in:
Jakub Valtar
2016-05-03 12:16:58 +02:00
parent 694436c724
commit 8885c38b68
2 changed files with 7 additions and 2 deletions

View File

@@ -703,7 +703,7 @@ public class ErrorCheckerService {
.filter(pckg -> !ignorableImport(pckg))
.map(pckg -> {
try {
return mode.getLibrary(pckg); // TODO: this may not be thread-safe
return mode.getLibrary(pckg);
} catch (SketchException e) {
return null;
}