, , .
C. , , , .
If you release an object in a reference-counting environment, you will not release it by simply stating that you are waiving any claims of ownership. When no one has ownership, dealloc is called by the runtime and the object is freed. Similarly, in a garbage collection environment, when you rewrite a link, you signal that it is no longer interested. After all the links are gone, after some indefinite time, finalization is sent to the object, and the object is freed.
source
share