Index: testrunner.cc |
diff --git a/testrunner.cc b/testrunner.cc |
index 933c25d930b2ed2d999531f820c62212ed4bf0c3..3e40e1fcdcc2ec28b816e02c46c1866c8a4d671e 100644 |
--- a/testrunner.cc |
+++ b/testrunner.cc |
@@ -10,6 +10,7 @@ |
#include <glib.h> |
#include <glib-object.h> |
#include <gtest/gtest.h> |
+#include "base/at_exit.h" |
#include "base/command_line.h" |
#include "update_engine/subprocess.h" |
@@ -17,6 +18,7 @@ int main(int argc, char **argv) { |
::g_type_init(); |
g_thread_init(NULL); |
dbus_g_thread_init(); |
+ base::AtExitManager exit_manager; |
chromeos_update_engine::Subprocess::Init(); |
CommandLine::Init(argc, argv); |
::testing::InitGoogleTest(&argc, argv); |