When my program in C++ exits, it throws errors like:
EInvalidPinter with message 'Invalid Pointer operation' ...
EAccessViolation with mesage 'Access violation at address 00000010 ...
Abonarmal Program Termination
I can't locate the code responsible for it ( I am using many libraries in my program). I think that it's coused by some destructor (or uncalled destructor).
It appers only when I exit the program, and does not affect program work.
Is there a way to immediately terminate the program (without errors), so the memory would have to be freed by operating system?