View Single Post
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 08-26-2016 , 20:57   Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]
Reply With Quote #108

Quote:
Originally Posted by xCoderx View Post
It appears .Membercount does not decrement when a child is disposed. I believe this is the cause of my loops getting slower + possibly memory leaks with stack constantly increasing?
Dynamic cant remove members and have the member count decrease.

You need to reuse members or use .Reset(*) to clean its members.

You may be after a collection which allows you to remove objects.

Edit: You can also override a collections Items function to return your own methodmap.
__________________

Last edited by Neuro Toxin; 08-26-2016 at 20:59.
Neuro Toxin is offline