mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:02:41 +02:00
LCL: set Application to nil on free
git-svn-id: trunk@45297 -
This commit is contained in:
parent
a56e83d4d7
commit
ff603d2ae3
@ -179,6 +179,9 @@ begin
|
|||||||
CaptureExceptions:=false;
|
CaptureExceptions:=false;
|
||||||
LCLProc.SendApplicationMessageFunction:=nil;
|
LCLProc.SendApplicationMessageFunction:=nil;
|
||||||
OnGetApplicationName := nil;
|
OnGetApplicationName := nil;
|
||||||
|
|
||||||
|
if Application=Self then
|
||||||
|
Application:=nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TApplication.ActivateHint(CursorPos: TPoint; CheckHintControlChange: Boolean);
|
procedure TApplication.ActivateHint(CursorPos: TPoint; CheckHintControlChange: Boolean);
|
||||||
|
Loading…
Reference in New Issue
Block a user