From f6f13cd4a8be5f49e13117b22efbfa68151153bb Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Wed, 15 Mar 2000 02:14:54 +0000 Subject: [PATCH] err.. not sure :-) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/gsocket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index 65e16aa68c..53834426de 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -165,13 +165,13 @@ void GSocket_destroy(GSocket *socket) { assert(socket != NULL); - /* Per-socket GUI-specific cleanup */ - _GSocket_GUI_Destroy(socket); - /* Check that the socket is really shutdowned */ if (socket->m_fd != -1) GSocket_Shutdown(socket); + /* Per-socket GUI-specific cleanup */ + _GSocket_GUI_Destroy(socket); + /* Destroy private addresses */ if (socket->m_local) GAddress_destroy(socket->m_local); -- 2.47.2