"Finalization" section of unit is not called (MacOS)

Issue #170 resolved
O A created an issue

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)

  1. Eugene Kryukov repo owner

    It may be debugger issue. Try to add Writeln('finalization'); and check PAServer output (without debugger).

  2. Log in to comment