[ruby/irb] Close leaked pty IOs
https://github.com/ruby/irb/commit/cc9b1d7ba8
This commit is contained in:
parent
8e5d1277fa
commit
74923aaf31
@ -223,6 +223,9 @@ module TestIRB
|
||||
end
|
||||
end
|
||||
end
|
||||
ensure
|
||||
read.close
|
||||
write.close
|
||||
end
|
||||
|
||||
lines.join
|
||||
|
Loading…
x
Reference in New Issue
Block a user