]> git.saurik.com Git - wxWidgets.git/commitdiff
err.. not sure :-)
authorGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 15 Mar 2000 02:14:54 +0000 (02:14 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 15 Mar 2000 02:14:54 +0000 (02:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.c

index 65e16aa68c76ea092b4740ce6249c69c2a9495cc..53834426de67d34b04f61c9a1153a2b639bff749 100644 (file)
@@ -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);