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:
parent
15da4792de
commit
ca2c5ded93
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ class TestRakeTask < Rake::TestCase
|
|||
|
||||
def teardown
|
||||
Rake::TaskManager.record_task_metadata = false
|
||||
Rake.application.thread_pool.join
|
||||
|
||||
super
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue