mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 07:42:33 +02:00
Packager, InstallPkgSetDialog: fix a crash caused by OnIdle handler which was not removed
git-svn-id: trunk@31099 -
This commit is contained in:
parent
353c186df3
commit
0345459ac3
@ -346,8 +346,10 @@ procedure TInstallPkgSetDialog.SetIdleConnected(const AValue: boolean);
|
||||
begin
|
||||
if FIdleConnected=AValue then exit;
|
||||
FIdleConnected:=AValue;
|
||||
if IdleConnected then
|
||||
Application.AddOnIdleHandler(@OnIdle);
|
||||
if FIdleConnected then
|
||||
Application.AddOnIdleHandler(@OnIdle)
|
||||
else
|
||||
Application.RemoveOnIdleHandler(@OnIdle);
|
||||
end;
|
||||
|
||||
procedure TInstallPkgSetDialog.SetOldInstalledPackages(
|
||||
|
Loading…
Reference in New Issue
Block a user