bugfix: selectables reassignment must ensure it remains an array of IO

objects
This commit is contained in:
HoneyryderChuck 2021-07-04 23:42:53 +01:00
parent f29b4a32d8
commit 793f034a91

View File

@ -77,7 +77,7 @@ class HTTPX::Selector
break
else
@selectables = [*selectables, @selectables]
@selectables.concat(selectables)
end
rescue StandardError
@selectables = selectables if selectables