mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 12:29:25 +02:00
parent
b38a7fb852
commit
6a5ed4ac5b
@ -362,14 +362,13 @@ end;
|
||||
|
||||
procedure TCustomApplication.Terminate;
|
||||
begin
|
||||
Terminate(0);
|
||||
Terminate(ExitCode);
|
||||
end;
|
||||
|
||||
procedure TCustomApplication.Terminate(AExitCode : Integer) ;
|
||||
|
||||
begin
|
||||
FTerminated:=True;
|
||||
If (AExitCode<>0) then
|
||||
ExitCode:=AExitCode;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user