git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
assert(socket != NULL);
{
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);
/* 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);
/* Destroy private addresses */
if (socket->m_local)
GAddress_destroy(socket->m_local);