* Fixed crash when closing app
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1712 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
c0c6b89b60
commit
497fdb0609
@ -115,8 +115,7 @@ FRootComponent:=RootComponent;
|
|||||||
|
|
||||||
FNames:=TStringList.create;
|
FNames:=TStringList.create;
|
||||||
|
|
||||||
FList:=TObjectList.Create;
|
FList:=TObjectList.create(False);
|
||||||
FList.OwnsObjects:=true;
|
|
||||||
|
|
||||||
FListState:=lsReady;
|
FListState:=lsReady;
|
||||||
end;
|
end;
|
||||||
@ -135,8 +134,8 @@ end;
|
|||||||
|
|
||||||
destructor TSpkCollection.Destroy;
|
destructor TSpkCollection.Destroy;
|
||||||
begin
|
begin
|
||||||
FNames.Free;
|
FNames.Destroy;
|
||||||
FList.Free;
|
FList.Destroy;
|
||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user