I have an application that recently crashed and I was able to get its callstack using EurekaLog. What I noticed was that the finalization of the unit was completed, but the application did not close and continued to work.
AFAIK, termination sections are called only when the application terminates. But that was not the case with me.
Does anyone know why the finalization method was called when it was not done?
EDIT
This application does not use DLL or bpls.
EDIT2
Is it possible for a thread to terminate upon completion?
source share