You've already forked lazarus-ccr
MavViewer: Easier usage of GpsPoint and GpsTracks. Less hints and warnings. GpxReader LoadFromFile/Stream returns the ID of the items loaded.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -485,6 +485,7 @@ function TJobQueue.pFindJobByName(const aName: string;
|
||||
var
|
||||
iRes, i: integer;
|
||||
begin
|
||||
Result := nil;
|
||||
SetLength(Result, Jobs.Count);
|
||||
iRes := 0;
|
||||
for i := 0 to pred(Jobs.Count) do
|
||||
@ -621,7 +622,7 @@ function TJobQueue.CancelAllJob(ByLauncher: TObject): TJobArray;
|
||||
var
|
||||
i, iJob: integer;
|
||||
begin
|
||||
SetLength(Result, 0);
|
||||
Result := nil;
|
||||
if FUseThreads then
|
||||
begin
|
||||
EnterCriticalSection;
|
||||
@ -758,7 +759,7 @@ end;
|
||||
|
||||
procedure TJob.Cancel;
|
||||
var
|
||||
lst: Array of TRestartTask;
|
||||
lst: Array of TRestartTask = nil;
|
||||
i, idx: integer;
|
||||
begin
|
||||
Queue.EnterCriticalSection;
|
||||
|
Reference in New Issue
Block a user