Registriert seit: 30. Nov 2005
Ort: München
5.779 Beiträge
Delphi 10.4 Sydney
|
AW: ShellTreeView Memory Leak
6. Mai 2015, 20:35
Hallo,
vielleicht hilft der Thread hier weiter.
Zitat:
Hi, there is a missing "override" and a wrong ClearItems in TCustomShellTreeView.Destroy.
Hope this helps
Jürgen
----------------------
{ TCustomShellTreeView }
....
Delphi-Quellcode:
TCustomShellTreeView = class(TCustomTreeView, IShellCommandVerb)
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override; //$$jp shellctrl.pas 26.08.2007: missing "override"
procedure Refresh(Node: TTreeNode);
....
Delphi-Quellcode:
destructor TCustomShellTreeView.Destroy;
begin
//$$jp: ClearItems;
//$$jp: raises EInvalidOperation and access-violations (shellctrl.pas 26.08.2007)
FRootFolder.Free;
inherited;
end;
Grüße
Klaus
Klaus
|
|
Zitat
|