Garbage collection and objects
Garbage collection and objects
- Subject: Garbage collection and objects
- From: Victor Yee <email@hidden>
- Date: Mon, 12 Feb 2001 17:09:47 -0500
I hope I'm using the correct terminology:
Do objects persist after their pointers are assigned to another object?
set x to makeObject(1)
set x to makeObject(2)
Does the first result of makeObject() get sent to garbage collection?
Or to put it another way, can this lead to a memory leak?
--
Victor