mirror of https://gitlab.com/basile.b/dexed.git
fix potential AV on exit
This commit is contained in:
parent
c203192882
commit
6ed96833c7
|
@ -1306,6 +1306,8 @@ var
|
|||
site: TControl;
|
||||
anchl: TAnchorKind;
|
||||
begin
|
||||
if csDestroying in ComponentState then
|
||||
exit;
|
||||
for i := 0 to fWidgList.Count-1 do
|
||||
begin
|
||||
widg := fWidgList.widget[i];
|
||||
|
|
Loading…
Reference in New Issue