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:
Vadim Zeitlin
2003-09-29 12:05:49 +00:00
parent 5554b4bda9
commit bd947cc9f0

View File

@@ -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();