mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 20:09:18 +02:00
* fixed race condition
This commit is contained in:
parent
32a8463209
commit
9fba928b62
@ -64,6 +64,7 @@ begin
|
||||
//WriteLn('Loop forever inside Tester.run when compiled by FPC 1.9.8');
|
||||
end;
|
||||
thread.Terminate;
|
||||
thread.waitfor;
|
||||
end;
|
||||
|
||||
var
|
||||
@ -71,4 +72,5 @@ var
|
||||
begin
|
||||
t:=Tester.Create;
|
||||
t.run;
|
||||
t.free;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user