Skip to content

Commit

Permalink
Revert "Make socket poll select function error informative (#843)" (#…
Browse files Browse the repository at this point in the history
…1038)

This reverts commit 77ea57a.
  • Loading branch information
Simn authored Mar 27, 2023
1 parent 3c77910 commit 6966d65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hx/libs/std/Socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1215,8 +1215,7 @@ void _hx_std_socket_poll_events( Dynamic pdata, double timeout )
if( select(0/* Ignored */, p->fdr->fd_count ? p->outr : 0, p->fdw->fd_count ?p->outw : 0,NULL,tt) == SOCKET_ERROR )
{
hx::ExitGCFreeZone();
hx::Throw( HX_CSTRING("Select error ") + String((int)WSAGetLastError()) );
//return;
return;
}
hx::ExitGCFreeZone();

Expand Down

0 comments on commit 6966d65

Please sign in to comment.