save udp io error on close for ruby 2.2 as well

This commit is contained in:
HoneyryderChuck 2021-01-03 17:58:34 +00:00
parent 1a933bd5cd
commit 3cb450bdef

View File

@ -25,7 +25,7 @@ module HTTPX
true
end
if RUBY_VERSION < "2.2"
if RUBY_VERSION < "2.3"
# :nocov:
def close
@io.close