summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
347f5ba)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39404
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
/* Remove the socket from the list */
EnterCriticalSection(&critical);
{
/* Remove the socket from the list */
EnterCriticalSection(&critical);
- socketList[(socket->m_msgnumber - WM_USER)] = NULL;
+ if ( socket->IsOk() )
+ socketList[(socket->m_msgnumber - WM_USER)] = NULL;
LeaveCriticalSection(&critical);
}
LeaveCriticalSection(&critical);
}