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:
@@ -334,7 +334,6 @@ void MyFrame::OnServerEvent(wxSocketEvent& event)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_text->AppendText(_("Error: couldn't accept a new connection\n\n"));
|
m_text->AppendText(_("Error: couldn't accept a new connection\n\n"));
|
||||||
sock->Destroy();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user