mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 13:31:20 +02:00
* Fixed backgrounding (must be done before creating controllers, bug ID #23445
git-svn-id: trunk@26697 -
This commit is contained in:
parent
6aaab457a7
commit
98dc27db1c
@ -94,7 +94,8 @@ end;
|
||||
|
||||
procedure TCustomDaemonApplication.SysStartRunDaemons;
|
||||
begin
|
||||
|
||||
if Application.HasOption('b','background') then
|
||||
DaemonizeProgram;
|
||||
end;
|
||||
|
||||
procedure TCustomDaemonApplication.SysEndRunDaemons;
|
||||
@ -104,8 +105,6 @@ Var
|
||||
DC : TDaemonController;
|
||||
|
||||
begin
|
||||
if Application.HasOption('b','background') then
|
||||
DaemonizeProgram;
|
||||
For I:=ComponentCount-1 downto 0 do
|
||||
If Components[i] is TDaemoncontroller then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user