Skip to content

Commit 4cb5a4a

Browse files
ono-maxko1
authored andcommitted
Make sure to wait for all threads to finish
1 parent b2038a0 commit 4cb5a4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/support/console_test_case.rb

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ def debug_code(program, remote: true, &test_steps)
105105
rescue Exception => e
106106
th.each(&:kill)
107107
flunk "#{e.class.name}: #{e.message}"
108+
ensure
109+
th.each {|t| t.join}
108110
end
109111
elsif remote && !NO_REMOTE
110112
debug_code_on_local

0 commit comments

Comments
 (0)