B
bronco
Guest
Well, I have to disagree, Thomas. From an encapsulation point of view it's a nono to make any assumptions what a callee does with a passed object (reference). So if A passes an object to B, A cannot (and should not) make assumptions on what B does with the passed object and therefor it's not save to delete the object manually in A. Let the GC do its work.
Continue reading...
Continue reading...