[Top][All Lists]
[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.
- [Chicken-janitors] #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/09
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/09
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/10
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit,
Chicken Trac <=
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/11
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/11
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/11
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/16
- [Chicken-janitors] Re: #446: Finalizers for top level bindings don't get executed upon program exit, Chicken Trac, 2010/12/18