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: Fri, 10 Dec 2010 17:54:00 -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):

 Replying to [comment:2 felix]:
 > Finalizers are not called on program exit.

 Is there a good reason for this or is it just not implemented? I wonder
 since {{{##sys#cleanup-before-exit}}} in library.scm calls {{{##sys#force-
 finalizers}}} and is registered as an exit-handler. Can you clarify this?

 > Also, in the interpreter, results (including the result of `set-
 finalizer!`, which is the finalized object) are stored in the REPL history
 and so never freed.

 Yep, when I said "interpreter" I meant a script executed with {{{csi
 -s}}}, not the REPL.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/446#comment:3>
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]