Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-02

custhttpapp doesn't terminate

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luca Olivetti

Hello,

I just realized that when I call

CustomApplication.Terminate

from my signal handler, the server stops listening but the application doesn't terminate.
It worked when I initially programmed it with fpc 2.6.4 (IIRC) 5 years ago. Now I'm using fpc 3.2.0 (svn revision 43147, linux 64 bits. It's a stand-alone server (i.e. I'm using fphttpapp).

Bye

Luca

Reply by email

Michael Van Canneyt
to Luca Olivetti
Luca Olivetti wrote 11 lines
Hello, I just realized that when I call CustomApplication.Terminate from my signal handler, the server stops listening but the application doesn't terminate. It worked when I initially programmed it with fpc 2.6.4 (IIRC) 5 years ago. Now I'm using fpc 3.2.0 (svn revision 43147, linux 64 bits. It's a stand-alone server (i.e. I'm using fphttpapp).

Seems to work here ?

Please report a bug with a compileable example.

Michael.

Reply by email

Luca Olivetti
to Michael Van Canneyt

El 27/2/20 a les 18:40, Michael Van Canneyt ha escrit:

Show quoted text 20 lines
On Thu, 27 Feb 2020, Luca Olivetti wrote: > Hello, > > I just realized that when I call > >    CustomApplication.Terminate > > from my signal handler, the server stops listening but the application > doesn't terminate. > It worked when I initially programmed it with fpc 2.6.4 (IIRC) 5 years > ago. > Now I'm using fpc 3.2.0 (svn revision 43147, linux 64 bits. > It's a stand-alone server (i.e. I'm using fphttpapp). Seems to work here ? Please report a bug with a compileable example.

Done

https://bugs.freepascal.org/view.php?id=36741

Bye

Luca

Reply by email