FlushMem

BlitzMax Forums/BlitzMax Beginners Area/FlushMem

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

If you really feel the need to force a collection, you can use GCCollect instead.


In fact, if you're working with external libraries which also maintain some kind of reference count, you may well HAVE to use GCCollect. Either that or miss out on any chance to automatically clean up the external objects.

EDIT: Actually, that's not strictly true. You could wrap the external ref-counting as well, but there's an overhead.