Skip to content

Commit

Permalink
Broken @io.close was fixed in Ruby v3.3.6 which is now released.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 8, 2024
1 parent e228d1b commit 01a4fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/io/stream/buffered.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def readable?

protected

if RUBY_VERSION >= "3.3.0"
if RUBY_VERSION >= "3.3.0" and RUBY_VERSION < "3.3.6"
def sysclose
# https://bugs.ruby-lang.org/issues/20723
Thread.new{@io.close}.join
Expand Down

0 comments on commit 01a4fc6

Please sign in to comment.