1. Specialize the Window and use your own delete method to do your
additional cleaning. This is what I do in Dr. Geo.
2. Use the WindowClosed announcement from system window to catch the
signal from the morph you want to clean
Le 29/07/2018 à 13:35, Peter Uhnák a écrit :
> how can a Morph react to its parent window being closed?
> Morph subclass: #MyMorph.
> MyMorph new openInWindow
> how can MyMorph cleanup itself on window close?
> I thought Morph>>delete would do the trick, but it is not being called.