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:
@@ -191,6 +191,16 @@ extern void wxDDEInitialize()
|
|||||||
|
|
||||||
void wxDDECleanUp()
|
void wxDDECleanUp()
|
||||||
{
|
{
|
||||||
|
wxDDEClientObjects.DeleteContents(TRUE);
|
||||||
|
wxDDEClientObjects.Clear();
|
||||||
|
wxDDEClientObjects.DeleteContents(FALSE);
|
||||||
|
|
||||||
|
wxDDEServerObjects.DeleteContents(TRUE);
|
||||||
|
wxDDEServerObjects.Clear();
|
||||||
|
wxDDEServerObjects.DeleteContents(FALSE);
|
||||||
|
|
||||||
|
wxAtomTable.Clear();
|
||||||
|
|
||||||
if ( DDEIdInst != 0 )
|
if ( DDEIdInst != 0 )
|
||||||
{
|
{
|
||||||
DdeUninitialize(DDEIdInst);
|
DdeUninitialize(DDEIdInst);
|
||||||
|
Reference in New Issue
Block a user