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

test/rake: avoid leaking threads

* test/rake/test_rake_task.rb (teardown): clean up thread pool to
  avoid leaking threads.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-05-28 06:22:09 +00:00
parent 15da4792de
commit ca2c5ded93

View file

@ -13,6 +13,7 @@ class TestRakeTask < Rake::TestCase
def teardown
Rake::TaskManager.record_task_metadata = false
Rake.application.thread_pool.join
super
end