On Thu, Jan 29, 2009 at 9:01 PM, Jim Ursetto <[email protected]> wrote: > On Thu, Jan 29, 2009 at 5:56 AM, felix winkelmann <[email protected]> wrote: >> On Thu, Jan 29, 2009 at 9:41 AM, Jim Ursetto <[email protected]> wrote: >>> I am seeing finalizers fail to execute on recent SVN and I think >>> it is the result of this change. I backed out the patch and it works >>> okay again. > >> Is the behaviour identical for compiled code? > > No, it works correctly for compiled code. They trigger immediately > after (gc #t). > > In interpreted code, the finalizers do not trigger at all, even when > you exit csi via (exit). >
Hm... I think this is related to the fact, that interpreter environments are managed differently (the closure representation in the interpreter is a simple linked list of environments, so it is possible that more indirect references to finalizers are left. But this should work. Have to investigate. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
