socket.rb - don't load io/wait (#6922)
See d2166c09b08fc1 and #6036 for more context.
This commit is contained in:
parent
1859784422
commit
74995162fc
Notes:
git
2022-12-13 19:57:57 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'socket.so'
|
||||
require 'io/wait'
|
||||
require 'io/wait' unless ::IO.public_instance_methods(false).include? :wait_readable
|
||||
|
||||
class Addrinfo
|
||||
# creates an Addrinfo object from the arguments.
|
||||
|
Loading…
x
Reference in New Issue
Block a user