[plt-scheme] Run a function when pressing start in drscheme

From: Filipe Cabecinhas (filcab at gmail.com)
Date: Sat May 3 19:29:38 EDT 2008

Hi

I'm trying to run a function when my program is terminated, to do some  
minor cleanup.

I'm using an exit-handler, but that only works when calling exit. When  
I press start in DrScheme (after loading my code), my function is not  
called. Is there a way to register a function to be called whenever  
the inferior scheme quits (either through exit or pressing start in  
DrScheme)?

Thanks for the help

   - Filipe Cabecinhas





Posted on the users mailing list.