From ca2c5ded936d306dde111e11754da56ca42555ef Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 28 May 2014 06:22:09 +0000 Subject: [PATCH] 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 --- test/rake/test_rake_task.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/rake/test_rake_task.rb b/test/rake/test_rake_task.rb index 3c8eac0da5..ed5f1b1e11 100644 --- a/test/rake/test_rake_task.rb +++ b/test/rake/test_rake_task.rb @@ -13,6 +13,7 @@ class TestRakeTask < Rake::TestCase def teardown Rake::TaskManager.record_task_metadata = false + Rake.application.thread_pool.join super end