mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:07:53 +02:00
* Patch to fix issue #40351
This commit is contained in:
parent
e1a216a4aa
commit
656254a984
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user