[Cuis-dev] Deleted Morph still stepping

Hilaire Fernandes hilaire at drgeo.eu
Sat Sep 26 07:45:23 PDT 2020


Hi,

I noted a morph continues stepping although removed from its owner, and 
even when the message #stopStepping is sent to it.

Any idea?

The context:

All morphs are sort of RectangleLikeMorph

Torpedo>>wantsSteps
     ^ false

SpaceWar>>destroyTorpedo: aTorpedo
     aTorpedo delete.
     torpedoes remove: aTorpedo.
     self removeMorph: aTorpedo.

Package there:

https://github.com/Cuis-Smalltalk/TheCuisBook/blob/master/Spacewar!AllMorphs.pck.st

Hilaire

-- 
GNU Dr. Geo
http://drgeo.eu
https://pouet.chapril.org/@hilaire

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200926/5e25ec14/attachment.htm>


More information about the Cuis-dev mailing list