Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2303)

Unified Diff: base/test/parallel_test_launcher.cc

Issue 23506031: Fix a test launcher hang when no tests are run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/test/test_launcher.cc » ('j') | base/test/test_launcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/parallel_test_launcher.cc
diff --git a/base/test/parallel_test_launcher.cc b/base/test/parallel_test_launcher.cc
index 4522394302ffd573c34db08da83b334e0757106e..c01a78371250beb86fdb4301485943e621beb1a2 100644
--- a/base/test/parallel_test_launcher.cc
+++ b/base/test/parallel_test_launcher.cc
@@ -134,6 +134,8 @@ ParallelTestLauncher::ParallelTestLauncher(size_t jobs)
ParallelTestLauncher::~ParallelTestLauncher() {
DCHECK(thread_checker_.CalledOnValidThread());
+
+ worker_pool_->Shutdown();
}
void ParallelTestLauncher::LaunchChildGTestProcess(
« no previous file with comments | « no previous file | base/test/test_launcher.cc » ('j') | base/test/test_launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698