You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OrderedMap.ForEach can result in a situation, where the iteration order is somewhat undefined while we are iterating if the elements get mutated during the iteration
Expected behaviour
Calling ForEach should give us the elements that are in the map by the time ForEach is called (make a copy).
Actual behaviour
Calling ForEach locks only each iterated entry, which means that if the order changes in between, we might miss or skip some entries.
The text was updated successfully, but these errors were encountered:
Bug description
OrderedMap.ForEach can result in a situation, where the iteration order is somewhat undefined while we are iterating if the elements get mutated during the iteration
Expected behaviour
Calling ForEach should give us the elements that are in the map by the time ForEach is called (make a copy).
Actual behaviour
Calling ForEach locks only each iterated entry, which means that if the order changes in between, we might miss or skip some entries.
The text was updated successfully, but these errors were encountered: