fixed double deletion (patch #945491)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -222,7 +222,8 @@ void wxPluginLibrary::UnregisterModules()
|
||||
for ( it = m_wxmodules.begin(); it != m_wxmodules.end(); ++it )
|
||||
wxModule::UnregisterModule( *it );
|
||||
|
||||
WX_CLEAR_LIST(wxModuleList, m_wxmodules);
|
||||
// NB: content of the list was deleted by UnregisterModule calls above:
|
||||
m_wxmodules.clear();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user