Skip to content

Commit 0722020

Browse files
committed
style: Using debug on Windows signal hook
1 parent 43c82c7 commit 0722020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/paslogbot.lpr

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ procedure SignalHandler(signal: longint; info: psiginfo; context: psigcontext);
4040
SIGTERM, SIGINT:
4141
begin
4242
if signal = SIGINT then WriteLn;
43-
debug('Received termination signal');
43+
debug('Received termination signal.');
4444
if Assigned(Application) then
4545
Application.Terminate;
4646
end;
@@ -73,7 +73,7 @@ function ConsoleCtrlHandler(CtrlType: DWORD): BOOL; stdcall;
7373
case CtrlType of
7474
CTRL_C_EVENT, CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT:
7575
begin
76-
WriteLn('Received termination signal');
76+
debug('Received termination signal.');
7777
if Assigned(Application) then
7878
Application.Terminate;
7979
Result := True;

0 commit comments

Comments
 (0)