Clean up string table before uninitializing DDEML

to cure crash on exit in memory-debug mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-09-01 15:48:58 +00:00
parent 8403515064
commit 5a33bc097f

View File

@ -191,6 +191,16 @@ extern void wxDDEInitialize()
void wxDDECleanUp()
{
wxDDEClientObjects.DeleteContents(TRUE);
wxDDEClientObjects.Clear();
wxDDEClientObjects.DeleteContents(FALSE);
wxDDEServerObjects.DeleteContents(TRUE);
wxDDEServerObjects.Clear();
wxDDEServerObjects.DeleteContents(FALSE);
wxAtomTable.Clear();
if ( DDEIdInst != 0 )
{
DdeUninitialize(DDEIdInst);