Clone
Louis Jacomet <louis@gradle.com>
committed
on 05 Apr
Fix ConcurrentModificationException in NodeState
When removing outgoing edges, there was a code path trying to remove
elements from the same… Show more
Fix ConcurrentModificationException in NodeState

When removing outgoing edges, there was a code path trying to remove

elements from the same collection that is being cleared initially.

This commit fixes that condition by not attempting to do so, knowing

that the edges to be removed will be as part of the external iteration.

Fixes #8944

Show less

green-master + 347 more