mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 12:38:05 +02:00
IDE: do not free package while compiling
git-svn-id: trunk@36469 -
This commit is contained in:
parent
24f1d64edb
commit
f7921aef89
@ -960,9 +960,10 @@ end;
|
||||
|
||||
procedure TPkgManager.OnApplicationIdle(Sender: TObject; var Done: Boolean);
|
||||
begin
|
||||
if PackageGraph = nil then Exit;
|
||||
if MainIDE.ToolStatus<>itNone then exit;
|
||||
if (Screen.ActiveCustomForm<>nil)
|
||||
and (fsModal in Screen.ActiveCustomForm.FormState) then exit;
|
||||
if PackageGraph = nil then Exit;
|
||||
PackageGraph.CloseUnneededPackages;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user