[ruby/irb] Close leaked pty IOs

https://github.com/ruby/irb/commit/cc9b1d7ba8
This commit is contained in:
Nobuyoshi Nakada 2022-12-05 19:31:18 +09:00 committed by git
parent 8e5d1277fa
commit 74923aaf31

View File

@ -223,6 +223,9 @@ module TestIRB
end
end
end
ensure
read.close
write.close
end
lines.join