http://wiki.squeak.org/squeak/428 says:
  When you create Morphs, even if you do not do an openInWorld, you should
delete them.
    ...
    tearDown
      aPatchArchiveClient delete

However, the method comment for Morph>>delete is:
        "Remove the receiver as a submorph of its owner and make its 
        new owner be nil."

If the morph was not opened in the world, won't the owner of the top-level
morph already be nil?  I want to update either the wiki or the comment to be
in sync, but I'm not sure which is right.

Thanks.
Sean
-- 
View this message in context: 
http://forum.world.st/Deleting-unopened-morphs-after-unit-tests-tp2257950p2257950.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to