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

Unified Diff: base/test/launcher/test_launcher.cc

Issue 1417353006: Tests: Simplify SequencedWorkerPoolOwner, call Shutdown on destructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adjust formatting and rebase Created 5 years 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 | « base/sequence_checker_unittest.cc ('k') | base/test/sequenced_worker_pool_owner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/test_launcher.cc
diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc
index e4b5bdaacecc25d2ef85a6e489e659480a62dae6..45b7111b45541363f9a4538164d09d3d3b59916a 100644
--- a/base/test/launcher/test_launcher.cc
+++ b/base/test/launcher/test_launcher.cc
@@ -467,10 +467,7 @@ TestLauncher::TestLauncher(TestLauncherDelegate* launcher_delegate,
parallel_jobs_(parallel_jobs) {
}
-TestLauncher::~TestLauncher() {
- if (worker_pool_owner_)
- worker_pool_owner_->pool()->Shutdown();
-}
+TestLauncher::~TestLauncher() {}
bool TestLauncher::Run() {
if (!Init())
« no previous file with comments | « base/sequence_checker_unittest.cc ('k') | base/test/sequenced_worker_pool_owner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698