|
@@ -670,7 +670,6 @@ Var i,j, iStart : Integer;
|
|
l : TList;
|
|
l : TList;
|
|
ns : TNodeServerAddress;
|
|
ns : TNodeServerAddress;
|
|
begin
|
|
begin
|
|
- SetLength(nsa,0);
|
|
|
|
FCritical.Acquire;
|
|
FCritical.Acquire;
|
|
Try
|
|
Try
|
|
l := TList.Create;
|
|
l := TList.Create;
|
|
@@ -686,6 +685,7 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
end else begin
|
|
end else begin
|
|
|
|
+ SetLength(nsa,0);
|
|
if FListByIp.Count>0 then begin
|
|
if FListByIp.Count>0 then begin
|
|
iStart := Random(FListByIp.Count);
|
|
iStart := Random(FListByIp.Count);
|
|
i := iStart;
|
|
i := iStart;
|