From 2ec2e91e99cb031e03882ab9e97a2a6b1f51034c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Jun 2010 18:18:32 +0000 Subject: [PATCH] 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 --- src/msw/dde.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/msw/dde.cpp b/src/msw/dde.cpp index 330ffa077d..21d8f02c2e 100644 --- a/src/msw/dde.cpp +++ b/src/msw/dde.cpp @@ -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; } -- 2.45.2