Hello, I have an FCGI program, which contains a datamodule which is created within its initialization section and destroyed in the finalization section (there are separate web modules.)
Windows 11, NGINX.
The datamodule is created when I start the service (Windows service). But the finalization section seems not called when I stop the service.
Is this normal? Well, stopping the service does not have to destroy the application necessarily. It remains in the memory and simply not respond to the requests. But if I recompile and restart it, the initialization section (which does create the datamodule) is called. I think the program should be released form the memory.