X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08989e30ede130f0ec29ddf0d4f36a71211bdcee..e7baa6764f8fdfcb93a0d0125039ec69c0e0ecf3:/src/common/init.cpp?ds=sidebyside diff --git a/src/common/init.cpp b/src/common/init.cpp index 407fe5cb3e..80e2c7bc5e 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -319,19 +319,19 @@ static void DoCommonPreCleanup() // flush the logged messages if any and install a 'safer' log target: the // default one (wxLogGui) can't be used after the resources are freed just // below and the user supplied one might be even more unsafe (using any - // wxWindows GUI function is unsafe starting from now) + // wxWidgets GUI function is unsafe starting from now) wxLog::DontCreateOnDemand(); // 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