Skip to content

Commit

Permalink
socket.rb - don't load io/wait (#6922)
Browse files Browse the repository at this point in the history
See d2166c0 and #6036 for more context.
  • Loading branch information
MSP-Greg committed Dec 13, 2022
1 parent 1859784 commit 7499516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/socket/lib/socket.rb
@@ -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.
Expand Down

0 comments on commit 7499516

Please sign in to comment.