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

Unified Diff: components/domain_reliability/uploader_unittest.cc

Issue 2336043007: Domain Reliability: Don't crash on shutdown with uploads pending (Closed)
Patch Set: Shutdown uploader in unittest Created 4 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
Index: components/domain_reliability/uploader_unittest.cc
diff --git a/components/domain_reliability/uploader_unittest.cc b/components/domain_reliability/uploader_unittest.cc
index d0f42049e87043f3218becbb1795f9bcf66632f3..3d015cd81f92a35c94922a1b356cdc0b99254730 100644
--- a/components/domain_reliability/uploader_unittest.cc
+++ b/components/domain_reliability/uploader_unittest.cc
@@ -197,6 +197,7 @@ class DomainReliabilityUploaderTest : public testing::Test {
}
~DomainReliabilityUploaderTest() override {
+ uploader_->Shutdown();
net::URLRequestFilter::GetInstance()->ClearHandlers();
}
« components/domain_reliability/uploader.cc ('K') | « components/domain_reliability/uploader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698