[racket] Running code on exit....

From: John Clements (clements at brinckerhoff.org)
Date: Thu Sep 1 23:14:09 EDT 2011

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.


-------------- 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>

Posted on the users mailing list.