Skip to content

Commit fe48fc2

Browse files
committed
Add comment.
1 parent 97936ad commit fe48fc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/async/container/group.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def wait
101101
end
102102

103103
private def each_running(&block)
104+
# We create a copy of the values here, in case the block modifies the running set:
104105
@running.values.each(&block)
105106
end
106107

0 commit comments

Comments
 (0)