- changed status to resolved
"Finalization" section of unit is not called (MacOS)
Issue #170
resolved
When Mainform of the VCL application is closed, Form.onDestroy is called, but then application is closed immediately, without calling of "finalization" sections of used units. Can be checked by: * Putting something to "finalization", for example ShowMessage('finalization'); * Setting a breakpoint there (just in case) By closing the application where such unit is listed in "uses", no message is shown and no stop on breakpoint performed
Comments (1)
-
repo owner - Log in to comment
It may be debugger issue. Try to add Writeln('finalization'); and check PAServer output (without debugger).