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 12:27:22 -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 felix):

 Replying to [comment:3 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?

 Forcing finalizers will only run those that have become garbage. The fact
 that a process terminates does not mean all toplevel variables become
 garbage, which many language implementations handle that way.

 I have documented this. Is this acceptable for you?

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