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