Login  Register

Clean up method like #exiting from VAST

Posted by vince on Mar 13, 2020; 6:02am
URL: https://forum.world.st/Clean-up-method-like-exiting-from-VAST-tp5113339.html

Hello

 

In VAST there is a class-side method #exiting which can be implemented in an application and is called just before the image is shut down. I use it to typically implement clean-up code.

 

Is there something similar in Pharo?

 

If I use aBlock ensure: cleanUpBlock, is the cleanUpBlock guaranteed to run in what circumstances?

 

Vince