* Patch to fix issue #40351

This commit is contained in:
Michaël Van Canneyt 2023-07-16 12:32:05 +02:00
parent e1a216a4aa
commit 656254a984

View File

@ -928,9 +928,10 @@ begin
Result := winsock2.Select(FSocket + 1, @FDS, @FDS, @FDS, @TimeV) > 0;
{$endif}
{$endif}
If not Result then
DoOnIdle;
Until Result or (Not FAccepting);
If Result then
break;
DoOnIdle;
Until (Not FAccepting);
end;
procedure TSocketServer.Listen;