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: Thu, 09 Dec 2010 21:43:08 -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):

 Apparently this is not only true for top level bindings. This program also
 doesn't print anything when interpreted (but in contrast, it does when
 compiled!):

 {{{
 (let ((x (list 1)))
   (set-finalizer! x (lambda (x) (print "finalized x"))))
 }}}

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