X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..e7baa6764f8fdfcb93a0d0125039ec69c0e0ecf3:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 21b2e37216..80e2c7bc5e 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -6,7 +6,7 @@ // Created: 04.10.99 // RCS-ID: $Id$ // Copyright: (c) Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -325,13 +325,13 @@ static void DoCommonPreCleanup() // this will flush the old messages if any delete wxLog::SetActiveTarget(new wxLogStderr); #endif // wxUSE_LOG - - wxModule::CleanUpModules(); } // cleanup done after destroying wxTheApp static void DoCommonPostCleanup() { + wxModule::CleanUpModules(); + wxClassInfo::CleanUp(); // we can't do this in wxApp itself because it doesn't know if argv had