[racket] How to handle exit of a GRacket application?
For cross referencing:
http://stackoverflow.com/questions/18684412/how-to-handle-gui-exit-in-racket
2013/9/8 Eric Dong <ericcesium133 at gmail.com>
> 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
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
>
--
--
Jens Axel Søgaard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130908/a7d351f4/attachment.html>