mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 23:59:07 +02:00
Gtk2: fixed crash when IDE closing
git-svn-id: trunk@25222 -
This commit is contained in:
parent
da949d64ae
commit
16e21d570d
@ -1114,7 +1114,7 @@ begin
|
||||
if Info = nil then // this widget is already destroyed
|
||||
Exit;
|
||||
|
||||
if (Info^.LCLObject <> TObject(Data)) then // this LCLObject does not use this widget anymore
|
||||
if (Data = nil) or (Info^.LCLObject <> TObject(Data)) then // this LCLObject does not use this widget anymore
|
||||
Exit;
|
||||
|
||||
if (TObject(Data) is TWinControl) then
|
||||
|
Loading…
Reference in New Issue
Block a user