[Etoys-notify] #7147 NORM Never A: Playfield remove all broken

Zarro Boogs per Child bugtracker at laptop.org
Sun Jun 1 05:41:24 EDT 2008


#7147: Playfield remove all broken
-----------------------------+----------------------------------------------
  Reporter:  karl            |       Owner:  etoys         
      Type:  defect          |      Status:  new           
  Priority:  normal          |   Milestone:  Never Assigned
 Component:  etoys-activity  |     Version:  Update.1      
Resolution:                  |    Keywords:                
  Verified:  0               |    Blocking:                
 Blockedby:                  |  
-----------------------------+----------------------------------------------

Comment(by karl):

 Yes the first version of the script gets cleaned up after a full GC.
 Maybe the GC should happen in the removeAll method ?

 I have made a version of the script that do not GC the removed instances:


 collection remove all.003.pr

 Browsing trough the code I found this method which get called to do the
 clean up in Player:

 Player>>noteDeletionOfSubmorph: aMorph fromCostume: aCostume

         "(self class instVarNames includes: aMorph knownName)
                 ifTrue: [ self removeSlotNamed: aMorph knownName ]."

 I'm not sure what is the method is supposed to do, but it sure does not do
 it now :-)

-- 
Ticket URL: <http://dev.laptop.org/ticket/7147#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Etoys-notify mailing list