Skip to content

Commit

Permalink
Missed line added.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmorozov committed Dec 3, 2019
1 parent a180413 commit 70ee3bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ procedure TBoundingBoxServerForm.FindGlobalMinVolume;
{ Waits until all runners finish computing. }
for i := 0 to Runners.Count - 1 do
begin
Runner:= TRunner(Runners[i]);
fHandle := Runner.Handle;
fMustContinue := True;
while fMustContinue do
Expand Down Expand Up @@ -819,7 +820,6 @@ procedure TBoundingBoxServerForm.FindGlobalMinVolume;
{ It is not necessarily to free separately all runners,
because the list owns them and removes them itself. }
Runners.Free;

Assert(FHandlers.Count = 0, 'All handlers should be freed by the output method.');

QueryPerformanceCounter(fEndTime);
Expand Down

0 comments on commit 70ee3bf

Please sign in to comment.