An object's finalizer will only ever be called once, even if resurrected.

This commit is contained in:
Antoine Pitrou 2013-06-15 19:59:55 +02:00
parent 36d2f33ef1
commit 211e09d844
1 changed files with 1 additions and 2 deletions

View File

@ -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.