[racket] How to handle exit of a GRacket application?

From: Eric Dong (ericcesium133 at gmail.com)
Date: Sat Sep 7 22:07:02 EDT 2013

Hi there,

My Racket GUI application needs to do a lot of cleanup work when exiting,
i.e. when the user presses the X button. Wrapping the .rkt in a shell
script which waits and then does the cleanup is a bit too hacky for me.
There are many exit handlers in the Racket documentation (exit-handler etc)
but none of them seem to work!

Thanks a whole ton!

Yuhao Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130907/aa970598/attachment.html>

Posted on the users mailing list.