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:
parent
8403515064
commit
5a33bc097f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user