mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
ECS: make library lookup thread safe
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user