Destructor or Delete in BMax

BlitzMax Forums/BlitzMax Programming/Destructor or Delete in BMax

One thing to remember is that you can't rely on Delete() being called on your object so don't do anything critical in there. If the garbage collector never collects that object, Delete() will never be called. If you have lots of memory and the GC never needs to collect old objects - ouch.