mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 13:29:19 +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;
|
destructor TList.Destroy;
|
||||||
begin
|
begin
|
||||||
Clear;
|
if Assigned(Flist) then
|
||||||
|
Clear;
|
||||||
If Assigned(FObservers) then
|
If Assigned(FObservers) then
|
||||||
begin
|
begin
|
||||||
FPONotifyObservers(Self,ooFree,Nil);
|
FPONotifyObservers(Self,ooFree,Nil);
|
||||||
|
Loading…
Reference in New Issue
Block a user