summaryrefslogtreecommitdiffstats
path: root/o3d/tests/common/cross/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/tests/common/cross/main.cc')
-rw-r--r--o3d/tests/common/cross/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/o3d/tests/common/cross/main.cc b/o3d/tests/common/cross/main.cc
index b4bdbd2..b8c3fc3 100644
--- a/o3d/tests/common/cross/main.cc
+++ b/o3d/tests/common/cross/main.cc
@@ -32,6 +32,7 @@
// defines the common main() for all unit tests
#include <build/build_config.h>
+#include "base/at_exit.h"
#include "gtest/gtest.h"
#ifdef OS_WIN
@@ -39,6 +40,7 @@ int test_main(int argc, wchar_t **argv) {
#else
int test_main(int argc, char **argv) {
#endif
+ ::base::AtExitManager at_exit_manager;
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();