An object's finalizer will only ever be called once, even if resurrected.
This commit is contained in:
parent
36d2f33ef1
commit
211e09d844
|
@ -201,8 +201,7 @@ Predictability
|
|||
--------------
|
||||
|
||||
Following this scheme, an object's finalizer is always called exactly
|
||||
once. The only exception is if an object is resurrected: the finalizer
|
||||
will be called again when the object becomes unreachable again.
|
||||
once, even if it was resurrected afterwards.
|
||||
|
||||
For CI objects, the order in which finalizers are called (step 2 above)
|
||||
is undefined.
|
||||
|
|
Loading…
Reference in New Issue