[racket] Running code on exit....
On Sep 1, 2011, at 8:03 PM, Eli Barzilay wrote:
> Two hours ago, Robby Findler wrote:
>> Does it make sense to have the resource managed by a custodian? That
>> is, operate the ffi/C level where you can extend what happens when a
>> custodian is shutdown to close whatever needs closing or finalizing
>> or whatever before it gets gc'd but when the custodian is shutdown?
>
> The problem is that you can always just exit the process. Maybe
> atexit() is more fitting?
Ooh, I like it. That sounds promising.
Thanks for the pointer.
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20110901/f7e00c88/attachment.p7s>