1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby: fix leaked threads

* test/thread/test_backtrace.rb: join work threads not to leak
  threads.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-05-26 05:38:10 +00:00
parent 72dce44d7b
commit 6fb6491c29

View file

@ -195,6 +195,7 @@ class TestBacktrace < Test::Unit::TestCase
assert_equal(n, th.backtrace_locations(0, n + 1).size)
ensure
q << true
th.join
end
end