What steps will reproduce the problem?
1. Start app_15_TaskGroup.exe
2. Press 'stop tasks'
What is the expected output? What do you see instead?
Expected: 'All stopped'.
Instead: Access violation at address 0048D7C4 in module
'app_15_TaskGroup.exe'. Read of address 00000000.
What version of the product are you using? On what operating system?
v1.03: 2009-02-08
Please provide any additional information below.
Checking if FTaskGroup is assigned fixes the problem.
procedure TfrmTestTaskGroup.btnStopTasksClick(Sender: TObject);
begin
if Assigned(FTaskGroup) then
begin
FTaskGroup.TerminateAll;
FTaskGroup := nil;
Log('All stopped');
end
else
Log('Nothing to stop');
end;
Original issue reported on code.google.com by SuperNiFF@gmail.com on 5 Oct 2009 at 6:01
Original issue reported on code.google.com by
SuperNiFF@gmail.com
on 5 Oct 2009 at 6:01