delete in max?

BlitzMax Forums/BlitzMax Programming/delete in max?

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.

Just to elaborate on ziggy's last sentences, you can not rely on your object being freed when you dereference it. The GC will pick it up and free it whenever it wants to...

The Delete method is called when the GC frees your object... this could happen straight away, or it might never happen... the GC knows when is the best time to free an object. So the Delete method must not be used for program critical stuff.