Next: , Previous: Object-debugging, Up: Object


1.120.8 Object: dependents access

addDependent: anObject
Add anObject to the set of the receiver's dependents. Important: if an object has dependents, it won't be garbage collected.


dependents
Answer a collection of the receiver's dependents.


release
Remove all of the receiver's dependents from the set and allow the receiver to be garbage collected.


removeDependent: anObject
Remove anObject to the set of the receiver's dependents. No problem if anObject is not in the set of the receiver's dependents.