]> git.saurik.com Git - wxWidgets.git/commitdiff
Gracefully disconnect clients in wxDDEServer dtor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jun 2010 18:18:32 +0000 (18:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jun 2010 18:18:32 +0000 (18:18 +0000)
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

src/msw/dde.cpp

index 330ffa077d0f28cc912b2e7cdae838f25da3bd62..21d8f02c2e170b0e56c967b8c13de4f38efb1045 100644 (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;
     }