~ chicken-core (chicken-5) 650d6736b37771380b5b8e5e9e291fc5978bb69a
commit 650d6736b37771380b5b8e5e9e291fc5978bb69a Author: felix <felix@call-with-current-continuation.org> AuthorDate: Fri Dec 10 15:18:29 2010 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Dec 10 15:18:29 2010 +0100 documented finalizer behaviour a little more diff --git a/manual/Unit library b/manual/Unit library index baf5d34b..389904f2 100644 --- a/manual/Unit library +++ b/manual/Unit library @@ -732,7 +732,12 @@ the finalizer will '''not''' be called while interrupts are disabled. This procedure returns {{X}}. Finalizers are invoked asynchronously, in the thread that happens -to be currently running. +to be currently running. Finalizers for data that has become garbage +are called on normal program exit. Finalizers are not run on +abnormal program exit. A normal program exit does not run finalizers +that are still reachable from global data. + +Multiple finalizers can be registered for the same object. ==== set-gc-report!Trap