I was using the element collections library to create dynamic objects. When I realized there wasn't a real way to delete an object once it had been created. So I was wondering, does the library handle deleting those objects? I will be filling a dynamic list with a random collection of objects and when my process is completed I will remove all the elements from the list. I was wondering what happens to those objects? Will they get properly removed from memory?
I am updating this to include an image of how I imagine one might have to go about this. If anyone has an answer on the correct solution that would be much appreciated.
I was using the element collections library to create dynamic objects. When I realized there wasn't a real way to delete an object once it had been created. So I was wondering, does the library handle deleting those objects? I will be filling a dynamic list with a random collection of objects and when my process is completed I will remove all the elements from the list. I was wondering what happens to those objects? Will they get properly removed from memory?
I am updating this to include an image of how I imagine one might have to go about this. If anyone has an answer on the correct solution that would be much appreciated.
Last edit: zastrow 2022-09-08