Destructor or Delete in BMax

BlitzMax Forums/BlitzMax Programming/Destructor or Delete in BMax

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

the object is still there, yes.

But if this was the last reference to this specific object, the GarbageCollector will free the object and call the Delete() method (so you can put all other clean up code in there)

Memory occupation is something that is not directly bound to your current objects, as it keeps some memory within a memory pool to assign new objects to it without the need to ask the OS all the time to get / free memory as this isn't the fastest thing.