[racket] Notification when window is closed

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sun Aug 5 08:33:59 EDT 2012

No, this second call to Run does the equivalent of 'force quit' on the
previous program, which is what closes the old windows. Technically,
it is calling custodian-shutdown-all on a custodian that controls all
things the previous run created.

Is there some external state that isn't getting cleaned up?


On Sun, Aug 5, 2012 at 2:20 AM, Antonio Menezes Leitao
<antonio.menezes.leitao at ist.utl.pt> wrote:
> Hi,
> Whenever the user clicks the 'Run' button in DrRacket,
> all frames created by a previous run are closed.  Can we
> be notified about that?
> I tried augmenting on-close but it doesn't seem to be called
> when the 'Run' button is clicked (although it is called when
> the user clicks on the frame's close button).
> Any suggestions?
> Best regards,
> Antonio.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.