X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f46a01651ac91690b47f9606ae53530fbf73829f..f9cff6e17341ea95da89eaa27f78b32f11291e12:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 3a9de3950c..032b8f094e 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -1626,7 +1626,9 @@ void wxSocketBase::OnRequest(wxSocketNotify notification) case wxSOCKET_LOST: flag = wxSOCKET_LOST_FLAG; - // if we lost the connection the socket is now closed + // if we lost the connection the socket is now closed and not + // connected any more + m_connected = false; m_closed = true; break;