summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/tools/tld_cleanup/tld_cleanup.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/tools/tld_cleanup/tld_cleanup.cc b/net/tools/tld_cleanup/tld_cleanup.cc
index 2efac1b7..1dc5391 100644
--- a/net/tools/tld_cleanup/tld_cleanup.cc
+++ b/net/tools/tld_cleanup/tld_cleanup.cc
@@ -45,6 +45,7 @@
#include <set>
#include <string>
+#include "base/at_exit.h"
#include "base/file_util.h"
#include "base/icu_util.h"
#include "base/logging.h"
@@ -235,6 +236,9 @@ int main(int argc, const char* argv[]) {
return 1;
}
+ // Manages the destruction of singletons.
+ base::AtExitManager exit_manager;
+
// Only use OutputDebugString in debug mode.
#ifdef NDEBUG
logging::LoggingDestination destination = logging::LOG_ONLY_TO_FILE;