Skip to content

Commit

Permalink
Make sure to wait for all threads to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Nov 21, 2022
1 parent 54f1369 commit 5efe82e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/support/console_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def debug_code(program, remote: true, &test_steps)
rescue Exception => e
th.each(&:kill)
flunk "#{e.class.name}: #{e.message}"
ensure
th.each {|t| t.join}
end
elsif remote && !NO_REMOTE
debug_code_on_local
Expand Down

0 comments on commit 5efe82e

Please sign in to comment.