removed wxClassInfo::CleanUp() as it breaks wxEntry reentrancy: once the sm_classTable is destroyed it's not going to be recreated again; instead leave last wxClassInfo::Unregister() call do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4fbbe847c8
commit
85149efad7
@ -98,7 +98,6 @@ public:
|
||||
// Cleans up hash table used for fast searching.
|
||||
wxDEPRECATED( static void CleanUpClasses() );
|
||||
#endif
|
||||
static void CleanUp();
|
||||
|
||||
public:
|
||||
const wxChar *m_className;
|
||||
|
@ -356,8 +356,6 @@ static void DoCommonPostCleanup()
|
||||
{
|
||||
wxModule::CleanUpModules();
|
||||
|
||||
wxClassInfo::CleanUp();
|
||||
|
||||
// we can't do this in wxApp itself because it doesn't know if argv had
|
||||
// been allocated
|
||||
#if wxUSE_UNICODE
|
||||
|
@ -208,15 +208,6 @@ wxClassInfo *wxClassInfo::FindClass(const wxChar *className)
|
||||
}
|
||||
}
|
||||
|
||||
void wxClassInfo::CleanUp()
|
||||
{
|
||||
if ( sm_classTable )
|
||||
{
|
||||
delete sm_classTable;
|
||||
sm_classTable = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void wxClassInfo::Register()
|
||||
{
|
||||
if ( !sm_classTable )
|
||||
|
Loading…
Reference in New Issue
Block a user