M
milkyway
Hello,
I have an array of objects that were created something like
Array[1] = new object(object_name);
Array[2] = new object(object_name);
How would one deallocate the storage that was created with the "new"
statement in this situation? Can I just do something like:
Array[1] = null;
Array[2] = null;
and hope that there is some automatic /magic garbage collection process
working?
Any help is appreciated ;-P
TIA
I have an array of objects that were created something like
Array[1] = new object(object_name);
Array[2] = new object(object_name);
How would one deallocate the storage that was created with the "new"
statement in this situation? Can I just do something like:
Array[1] = null;
Array[2] = null;
and hope that there is some automatic /magic garbage collection process
working?
Any help is appreciated ;-P
TIA