I cannot make the simple repro-demo for this issue.
So just read how to repeat it in the open source project CudaText.
https://github.com/Alexey-T/CudaText/issues/4204What I tried to catch it in IDE:
- made breakpoint in TApplication.Terminate
- made breakpoint in 'finalization' section of some app unit
None helps - breakpoints are not handled when this bug happens. Debugger cannot see it.
(But breakpoints work OK if I do normal app exit).
Qt5 build works OK.