Skip to content

Commit 76f8872

Browse files
committed
Switch from calling map to each
since map is not adding anything
1 parent 4b43598 commit 76f8872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/common/driver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def quit
188188
bridge.quit
189189
ensure
190190
@service_manager&.stop
191-
@devtools&.values&.map(&:close)
191+
@devtools&.values&.each(&:close)
192192
end
193193

194194
#

0 commit comments

Comments
 (0)