clean up modules after destroying the app, not before it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user