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/MFCDialog | |
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/MFCDialog')
-rw-r--r-- | Source/MFCDialog/CMakeSetup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/MFCDialog/CMakeSetup.cpp b/Source/MFCDialog/CMakeSetup.cpp index 260dd57..707b9c6 100644 --- a/Source/MFCDialog/CMakeSetup.cpp +++ b/Source/MFCDialog/CMakeSetup.cpp @@ -7,6 +7,7 @@ #include "CMakeCommandLineInfo.h" #include "../cmListFileCache.h" #include "../cmMakefileGenerator.h" +#include "../cmCacheManager.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -78,6 +79,7 @@ BOOL CMakeSetup::InitInstance() // clean up globals cmListFileCache::GetInstance()->ClearCache(); cmMakefileGenerator::UnRegisterGenerators(); + cmCacheManager::DeleteInstance(); // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application's message pump. return FALSE; |