]> git.saurik.com Git - wxWidgets.git/commitdiff
removed wxClassInfo::CleanUp() as it breaks wxEntry reentrancy: once the sm_classTabl...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Mar 2006 00:54:00 +0000 (00:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Mar 2006 00:54:00 +0000 (00:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/object.h
src/common/init.cpp
src/common/object.cpp

index 58e62f03beecbdb4d19b600d1515960ba8b3e83e..b181ed0a84562b574456295d8e1d01be76e04356 100644 (file)
@@ -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;
index 258539e3ff02aafbdd4e739354862ea1820cee43..b27736deac2e3b5b5c842e0100fe1e89541ffde2 100644 (file)
@@ -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
index 87e3dc1ed78bc0977852256aa609a791338cc180..4cb6e34b0f6e312fd3b95769e2dfd0db26260a43 100644 (file)
@@ -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 )