New tests for atomic ops
This commit is contained in:
@@ -57,7 +57,8 @@ end;
|
||||
|
||||
function TMycExecMock.Notify: Boolean;
|
||||
begin
|
||||
if Assigned(FProc) then
|
||||
Result := Assigned(FProc);
|
||||
if Result then
|
||||
begin
|
||||
FProc();
|
||||
FProc := nil;
|
||||
|
||||
Reference in New Issue
Block a user