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

Unified Diff: chrome/browser/net/dns_global.cc

Issue 150001: Ensure that even if the HostResolver outlives the IO thread, its jobs will no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | net/base/host_resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/dns_global.cc
===================================================================
--- chrome/browser/net/dns_global.cc (revision 19453)
+++ chrome/browser/net/dns_global.cc (working copy)
@@ -444,6 +444,9 @@
// Stop observing DNS resolutions. Note that dns_master holds a reference
// to the global host resolver, so is guaranteed to be live.
GetGlobalHostResolver()->RemoveObserver(&dns_resolution_observer);
+
+ // TODO(eroman): temp hack for http://crbug.com/15513
+ GetGlobalHostResolver()->Shutdown();
}
// TODO(eroman): This is a hack so the in process browser tests work if
« no previous file with comments | « no previous file | net/base/host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698