summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/eviction.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 00:10:01 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 00:10:01 +0000
commit442b94e6ffc81a9f23865459693e3d7465d54d0c (patch)
treeaed90bd26d9dd030d3215f984ab4b52e40242ef4 /net/disk_cache/eviction.cc
parent9897ae912552cfd9315c9e6a8b09ab0166ecb9a4 (diff)
downloadchromium_src-442b94e6ffc81a9f23865459693e3d7465d54d0c.zip
chromium_src-442b94e6ffc81a9f23865459693e3d7465d54d0c.tar.gz
chromium_src-442b94e6ffc81a9f23865459693e3d7465d54d0c.tar.bz2
Disk Cache: Cleaner way to stop evictions at destruction.
BUG=49547 TEST=none Review URL: http://codereview.chromium.org/3008014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/eviction.cc')
-rw-r--r--net/disk_cache/eviction.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/eviction.cc b/net/disk_cache/eviction.cc
index 91ef9b7..8da01ae 100644
--- a/net/disk_cache/eviction.cc
+++ b/net/disk_cache/eviction.cc
@@ -83,6 +83,7 @@ void Eviction::Stop() {
// this point on.
DCHECK(!trimming_);
trimming_ = true;
+ factory_.RevokeAll();
}
void Eviction::TrimCache(bool empty) {