Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ private void handlePullRequestLoadError(String projectName, Throwable error) {
* just expand them. For projects not yet loaded, load PRs first then expand.
*/
private void expandAllProjects() {
// Iterate through all projects in the tree
for (String projectName : repoToPullRequestsMap.keySet()) {
// Iterate over a copy: the refresh job clears and fills the map concurrently
for (String projectName : new ArrayList<>(repoToPullRequestsMap.keySet())) {
// Skip special nodes like "No open projects"
if (!projectNameToProjectMap.containsKey(projectName)) {
continue;
Expand Down
Loading