summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
Diffstat (limited to 'net/base')
-rw-r--r--net/base/host_resolver_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc
index 0f2e5f0..8d5fe26 100644
--- a/net/base/host_resolver_impl.cc
+++ b/net/base/host_resolver_impl.cc
@@ -907,13 +907,14 @@ void HostResolverImpl::ProbeIPv6Support() {
void HostResolverImpl::Shutdown() {
DCHECK(CalledOnValidThread());
- shutdown_ = true;
// Cancel the outstanding jobs.
for (JobMap::iterator it = jobs_.begin(); it != jobs_.end(); ++it)
it->second->Cancel();
jobs_.clear();
DiscardIPv6ProbeJob();
+
+ shutdown_ = true;
}
void HostResolverImpl::SetPoolConstraints(JobPoolIndex pool_index,