summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 21:11:49 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 21:11:49 +0000
commit9b7e4497c3862ec47a97a3f726b33b4c8ed401b4 (patch)
tree2fb524d65cc4371844a4857d38f263f3d2ffa7cd /net/tools
parente69f4bf2bc779c33086a58600060f64d0d2e118e (diff)
downloadchromium_src-9b7e4497c3862ec47a97a3f726b33b4c8ed401b4.zip
chromium_src-9b7e4497c3862ec47a97a3f726b33b4c8ed401b4.tar.gz
chromium_src-9b7e4497c3862ec47a97a3f726b33b4c8ed401b4.tar.bz2
Fix utilities that were broken by at_exit changes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/crash_cache/crash_cache.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/tools/crash_cache/crash_cache.cc b/net/tools/crash_cache/crash_cache.cc
index f007feb..17537a8 100644
--- a/net/tools/crash_cache/crash_cache.cc
+++ b/net/tools/crash_cache/crash_cache.cc
@@ -35,6 +35,7 @@
#include <windows.h>
#include <string>
+#include "base/at_exit.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "base/message_loop.h"
@@ -316,6 +317,9 @@ int SlaveCode(const std::wstring& path, RankCrashes action) {
// -----------------------------------------------------------------------
int main(int argc, const char* argv[]) {
+ // Setup an AtExitManager so Singleton objects will be destructed.
+ base::AtExitManager at_exit_manager;
+
if (argc < 2)
return MasterCode();