🐛 Run the inherited destructor for animation groups
TAnimDataGroup.Destroy skipped the inherited call, so the base class never fired its destroy notifications and leaked the handler state.
This commit is contained in:
@@ -144,6 +144,7 @@ var
|
|||||||
begin
|
begin
|
||||||
for i := 0 to 7 do
|
for i := 0 to 7 do
|
||||||
AnimData[i].Free;
|
AnimData[i].Free;
|
||||||
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TAnimDataGroup.Write(AData: TStream);
|
procedure TAnimDataGroup.Write(AData: TStream);
|
||||||
|
|||||||
Reference in New Issue
Block a user