diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-08-23 17:46:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-08-23 17:46:32 (GMT) |
commit | 3f36d234213fd9e23a9402eabb2198e79c6ebe61 (patch) | |
tree | 59a7ab0bfb1f057894061347ae3891d03bdcc0c7 /Source/cmaketest.cxx | |
parent | 40cf734152304bd00a1c0895f4e37f0ff87ca43d (diff) | |
download | CMake-3f36d234213fd9e23a9402eabb2198e79c6ebe61.zip CMake-3f36d234213fd9e23a9402eabb2198e79c6ebe61.tar.gz CMake-3f36d234213fd9e23a9402eabb2198e79c6ebe61.tar.bz2 |
BUG: add explicit clean up of the cachemanager at exit of programs, so dll destruction is not a problem.
Diffstat (limited to 'Source/cmaketest.cxx')
-rw-r--r-- | Source/cmaketest.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx index 69eba74..3ba3fad 100644 --- a/Source/cmaketest.cxx +++ b/Source/cmaketest.cxx @@ -20,6 +20,7 @@ #include "cmake.h" #include "cmListFileCache.h" #include "cmMakefileGenerator.h" +#include "cmCacheManager.h" #if defined(_WIN32) && !defined(__CYGWIN__) #include "windows.h" #endif @@ -31,6 +32,8 @@ struct CleanUp ~CleanUp() { cmMakefileGenerator::UnRegisterGenerators(); + cmCacheManager::DeleteInstance(); + } void UseIt() { |