* 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;
|
||||
|
||||
FList:=TObjectList.Create;
|
||||
FList.OwnsObjects:=true;
|
||||
FList:=TObjectList.create(False);
|
||||
|
||||
FListState:=lsReady;
|
||||
end;
|
||||
@ -135,8 +134,8 @@ end;
|
||||
|
||||
destructor TSpkCollection.Destroy;
|
||||
begin
|
||||
FNames.Free;
|
||||
FList.Free;
|
||||
FNames.Destroy;
|
||||
FList.Destroy;
|
||||
inherited;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user