Skip to content

Commit

Permalink
Close leaked pty IOs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 5, 2022
1 parent 942d593 commit cc9b1d7
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 cc9b1d7

Please sign in to comment.