Gtk2: fixed crash when IDE closing

git-svn-id: trunk@25222 -
This commit is contained in:
zeljko 2010-05-05 17:35:48 +00:00
parent da949d64ae
commit 16e21d570d

View File

@ -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