Gracefully disconnect clients in wxDDEServer dtor.

Remove the SetConnected(false) call which prevented the connection from
notifying the client about its destruction.

Closes #12164.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-06-20 18:18:32 +00:00
parent 5276b0a53c
commit 2ec2e91e99

View File

@@ -327,7 +327,6 @@ wxDDEServer::~wxDDEServer()
{
wxDDEConnection *connection = node->GetData();
wxDDEConnectionList::compatibility_iterator next = node->GetNext();
connection->SetConnected(false);
connection->OnDisconnect(); // May delete the node implicitly
node = next;
}