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:
parent
06b781c7c6
commit
677a9f0c61
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user