chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #446: Finalizers for top level bindings don't get


From: Chicken Trac
Subject: [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit
Date: Sat, 11 Dec 2010 14:12:30 -0000

#446: Finalizers for top level bindings don't get executed upon program exit
----------------------+-----------------------------------------------------
  Reporter:  syn      |       Owner:       
      Type:  defect   |      Status:  new  
  Priority:  major    |   Milestone:  4.7.0
 Component:  unknown  |     Version:  4.6.x
Resolution:           |    Keywords:       
----------------------+-----------------------------------------------------

Comment(by syn):

 Okay, that makes sense then, thanks! I assumed indeed that all data is
 considered garbage at program exit. I think this implies that programs
 relying on finalizers to clean up (possibly remote) state should
 additionally define an exit handler to be on the safe side then. Just out
 of curiosity: Would changing the behavior to consider all remaining top
 level bindings at program exit garbage and run their finalizers mean a big
 change and would it potentially break a lot of code? Otherwise I'd suggest
 changing to this behavior and maybe add a command line switch to disable
 it.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/446#comment:5>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]