Values in TMaps - Ref Counted?

BlitzMax Forums/BlitzMax Programming/Values in TMaps - Ref Counted?

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.

As a TMap holds the key and value as objects, I too would expect them to be ref counted.

The only thing I can think of is that you might be replacing a given key value pair with a new version. i.e. you are storing object a with a key of 1, then you store object b with a key of 1. object a then loses its reference and is collected.