<div dir="ltr"><div>For cross referencing:</div><a href="http://stackoverflow.com/questions/18684412/how-to-handle-gui-exit-in-racket">http://stackoverflow.com/questions/18684412/how-to-handle-gui-exit-in-racket</a><br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/8 Eric Dong <span dir="ltr"><<a href="mailto:ericcesium133@gmail.com" target="_blank">ericcesium133@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi there,<div><br></div><div>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!</div>
<div><br></div><div>Thanks a whole ton!</div><div><br></div><div>Yuhao Dong</div></div>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>-- <br>Jens Axel Søgaard<br><br>
</div>