lib/httpx/selector.rb in httpx-0.15.2 vs lib/httpx/selector.rb in httpx-0.15.3
- old
+ new
@@ -75,10 +75,10 @@
# this might happen if connect failed and connection was unregistered.
return if (!r || r.empty?) && (!w || w.empty?)
break
else
- @selectables = [*selectables, @selectables]
+ @selectables.concat(selectables)
end
rescue StandardError
@selectables = selectables if selectables
raise
end