Skip to content

Commit 6966d65

Browse files
authored
Revert "Make socket poll select function error informative (HaxeFoundation#843)" (HaxeFoundation#1038)
This reverts commit 77ea57a.
1 parent 3c77910 commit 6966d65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hx/libs/std/Socket.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1215,8 +1215,7 @@ void _hx_std_socket_poll_events( Dynamic pdata, double timeout )
12151215
if( select(0/* Ignored */, p->fdr->fd_count ? p->outr : 0, p->fdw->fd_count ?p->outw : 0,NULL,tt) == SOCKET_ERROR )
12161216
{
12171217
hx::ExitGCFreeZone();
1218-
hx::Throw( HX_CSTRING("Select error ") + String((int)WSAGetLastError()) );
1219-
//return;
1218+
return;
12201219
}
12211220
hx::ExitGCFreeZone();
12221221

0 commit comments

Comments
 (0)