fixes in cleanup of DDE servers: don't delete them ourseleves (this is inconsistent with socket IPC classes); do check that they're all destroyed before DDE is shut down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -194,8 +194,10 @@ extern void wxDDEInitialize()
|
||||
|
||||
void wxDDECleanUp()
|
||||
{
|
||||
WX_CLEAR_LIST(wxDDEClientList, wxDDEClientObjects);
|
||||
WX_CLEAR_LIST(wxDDEServerList, wxDDEServerObjects);
|
||||
// deleting them later won't work as DDE won't be initialized any more
|
||||
wxASSERT_MSG( wxDDEServerObjects.empty() &&
|
||||
wxDDEClientObjects.empty(),
|
||||
_T("all DDE objects should be deleted by now") );
|
||||
|
||||
wxAtomTable.clear();
|
||||
|
||||
|
Reference in New Issue
Block a user