mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
* Removed unused private procedure ThreadTerminated
* Send control codes to daemon thread, solves problems responding to external signals git-svn-id: trunk@13013 -
This commit is contained in:
parent
284f689c5d
commit
1ff5458a91
@ -122,7 +122,6 @@ Type
|
||||
FSysData : TObject;
|
||||
FParams : TStrings;
|
||||
FCheckPoint : DWord;
|
||||
procedure ThreadTerminated(Sender: TObject);
|
||||
Public
|
||||
Constructor Create(AOwner : TComponent); override;
|
||||
Destructor Destroy; override;
|
||||
|
@ -150,6 +150,7 @@ procedure TDaemonController.Controller(ControlCode, EventType: DWord;
|
||||
|
||||
begin
|
||||
// Send control code to daemon thread.
|
||||
TDaemonThread(Daemon.DaemonThread).HandleControlCode(ControlCode);
|
||||
end;
|
||||
|
||||
function TDaemonController.ReportStatus: Boolean;
|
||||
@ -166,12 +167,6 @@ begin
|
||||
Application.Logger.Info(S);
|
||||
end;
|
||||
|
||||
Procedure TDaemonController.ThreadTerminated(Sender : TObject);
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
{ ---------------------------------------------------------------------
|
||||
Global initialization/Finalization
|
||||
---------------------------------------------------------------------}
|
||||
|
Loading…
Reference in New Issue
Block a user