18.5 Reference Counting (cont.)
When a references is destroyed (or reassigned), ref count is decremented:
When the reference count is zero, the shared resource is deleted
prev
|
top
|
next