mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 13:49:12 +02:00
* Take care of Florian's remark that FList may be nil when constructor failed
git-svn-id: trunk@22593 -
This commit is contained in:
parent
4ddd2f5031
commit
6eade12d3f
@ -646,7 +646,8 @@ end;
|
||||
|
||||
destructor TList.Destroy;
|
||||
begin
|
||||
Clear;
|
||||
if Assigned(Flist) then
|
||||
Clear;
|
||||
If Assigned(FObservers) then
|
||||
begin
|
||||
FPONotifyObservers(Self,ooFree,Nil);
|
||||
|
Loading…
Reference in New Issue
Block a user