The dangers of automatic GC mode

BlitzMax Forums/BlitzMax Programming/The dangers of automatic GC mode

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.

But if you Null out an object and call GCCollect it will always be collected.

no, that's not the case... again, this has been discussed at length. a simple search of the forum shows this. you can not count on GCCollect always collecting something that you think is ready for collection even though in most cases it will.

http://www.blitzbasic.com/Community/posts.php?topic=73386#820353
http://www.blitzmax.com/Community/posts.php?topic=63550#709423
and others...