well... a few months ago I had an issue where I implemented Delete() and found it wasnt always getting called.
I cant seemt to find the thread but basically I was told that while a program is running then the garbage collector will call the Delete() method as it deletes objects.
When the programs ends then any remaining active objects and any that the garbage collector has not yet collected will just get deleted and the Delete() method for these objects is not called.
So... I guess in some cases when you program ends it might not actually free the memory you malloc'd.
Of course I could be wrong... I often am
I cant seemt to find the thread but basically I was told that while a program is running then the garbage collector will call the Delete() method as it deletes objects.
When the programs ends then any remaining active objects and any that the garbage collector has not yet collected will just get deleted and the Delete() method for these objects is not called.
So... I guess in some cases when you program ends it might not actually free the memory you malloc'd.
Of course I could be wrong... I often am