Skip to content

Commit

Permalink
Merge pull request ruby#470 from nobu/fix-leaked-fds
Browse files Browse the repository at this point in the history
Close leaked pty IOs
  • Loading branch information
nobu authored Dec 5, 2022
2 parents 942d593 + cc9b1d7 commit 8e6f90b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/irb/test_debug_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ def run_ruby_file(&block)
end
end
end
ensure
read.close
write.close
end

lines.join
Expand Down

0 comments on commit 8e6f90b

Please sign in to comment.