From 01a4fc670c0b641f108aac158abc7abfb90761f6 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Fri, 8 Nov 2024 14:58:44 +1300 Subject: [PATCH] Broken `@io.close` was fixed in Ruby v3.3.6 which is now released. --- lib/io/stream/buffered.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/io/stream/buffered.rb b/lib/io/stream/buffered.rb index 7a5c838..f998d5f 100644 --- a/lib/io/stream/buffered.rb +++ b/lib/io/stream/buffered.rb @@ -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