mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 03:59:13 +02:00
lazcontrols: tlvlgraph: faster destroy
git-svn-id: trunk@40746 -
This commit is contained in:
parent
b8a1d1c5e9
commit
1531418952
@ -2557,6 +2557,7 @@ end;
|
|||||||
|
|
||||||
destructor TCustomLvlGraphControl.Destroy;
|
destructor TCustomLvlGraphControl.Destroy;
|
||||||
begin
|
begin
|
||||||
|
inc(fUpdateLock);
|
||||||
FreeAndNil(FImageChangeLink);
|
FreeAndNil(FImageChangeLink);
|
||||||
FGraph.OnInvalidate:=nil;
|
FGraph.OnInvalidate:=nil;
|
||||||
FGraph.OnSelectionChanged:=nil;
|
FGraph.OnSelectionChanged:=nil;
|
||||||
|
Loading…
Reference in New Issue
Block a user