fix profiler fetch concurrency issues

This commit is contained in:
dfsek
2021-12-30 15:05:24 -07:00
parent fc50f53944
commit 53cc36c879

View File

@@ -113,7 +113,7 @@ public class ProfilerImpl implements Profiler {
for(int i = 1; i < keys.length; i++) {
timings = timings.getSubItem(keys[i]);
}
list.forEach(timings::addTime);
new ArrayList<>(list).forEach(timings::addTime);
}));
}
return map;