GP-0 Correct concurrent modification exception for build help

This commit is contained in:
ghidra1 2023-12-16 10:31:44 -05:00
parent b6100233dd
commit 6e5875cef3
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ public class AnchorManager {
}
private void cleanupDuplicateAnchors() {
Set<String> keySet = duplicateAnchorsById.keySet();
Set<String> keySet = new HashSet<>(duplicateAnchorsById.keySet());
for (String id : keySet) {
List<AnchorDefinition> list = duplicateAnchorsById.get(id);
for (Iterator<AnchorDefinition> iterator = list.iterator(); iterator.hasNext();) {