fixed bug with calling Destroy() on the NULL wxSocket

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-08-20 13:10:17 +00:00
parent 06b781c7c6
commit 677a9f0c61

View File

@ -334,7 +334,6 @@ void MyFrame::OnServerEvent(wxSocketEvent& event)
else
{
m_text->AppendText(_("Error: couldn't accept a new connection\n\n"));
sock->Destroy();
return;
}