err.. not sure :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -165,13 +165,13 @@ void GSocket_destroy(GSocket *socket)
|
|||||||
{
|
{
|
||||||
assert(socket != NULL);
|
assert(socket != NULL);
|
||||||
|
|
||||||
/* Per-socket GUI-specific cleanup */
|
|
||||||
_GSocket_GUI_Destroy(socket);
|
|
||||||
|
|
||||||
/* Check that the socket is really shutdowned */
|
/* Check that the socket is really shutdowned */
|
||||||
if (socket->m_fd != -1)
|
if (socket->m_fd != -1)
|
||||||
GSocket_Shutdown(socket);
|
GSocket_Shutdown(socket);
|
||||||
|
|
||||||
|
/* Per-socket GUI-specific cleanup */
|
||||||
|
_GSocket_GUI_Destroy(socket);
|
||||||
|
|
||||||
/* Destroy private addresses */
|
/* Destroy private addresses */
|
||||||
if (socket->m_local)
|
if (socket->m_local)
|
||||||
GAddress_destroy(socket->m_local);
|
GAddress_destroy(socket->m_local);
|
||||||
|
Reference in New Issue
Block a user