[racket] Running code on exit....
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?
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!