safer destruction of wxXmlResource::ms_instance

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-01-18 19:04:50 +00:00
parent b386eeeebe
commit 1542c42e72
2 changed files with 2 additions and 2 deletions

View File

@@ -1112,7 +1112,7 @@ public:
}
void OnExit()
{
delete wxXmlResource::Get();
delete wxXmlResource::Set(NULL);
CleanXMLID_Records();
}
};