M
myname
Hello,
I noticed that when there's a crash in my programs,
the finalize methods of my objects are not called
(the memory is freed, but some things are not done,
like deleting files or tables).
Of course, I should handle all the exceptions,
but in the case I forget some of them,
is there any way to make sure the finalize
methods are always called ?
Thanks !
I noticed that when there's a crash in my programs,
the finalize methods of my objects are not called
(the memory is freed, but some things are not done,
like deleting files or tables).
Of course, I should handle all the exceptions,
but in the case I forget some of them,
is there any way to make sure the finalize
methods are always called ?
Thanks !