You also have to register with SessionManager (see its class comment, see its references).
> On 21 Feb 2017, at 17:10, Cyril Ferlicot D. <cyril.ferli...@gmail.com> wrote: > > On 21/02/2017 16:54, Raffaello Giulietti wrote: >> Hi guys, >> >> I need to run some Pharo code whenever the image starts. Similarly on >> (clean) quitting. >> What's the recommended practice? >> >> Regards >> RG >> > > Hello! > > Every classes should be able to override the methods #startUp, > #startUp:, #shutDown and #shutDown: in order to do some work. > > > -- > Cyril Ferlicot > > http://www.synectique.eu > > 2 rue Jacques Prévert 01, > 59650 Villeneuve d'ascq France >