[squeak-dev] The Trunk: EToys-eem.267.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 7 16:27:42 UTC 2016


Eliot Miranda uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-eem.267.mcz

==================== Summary ====================

Name: EToys-eem.267
Author: eem
Time: 7 October 2016, 9:25:48.070927 am
UUID: 76f37085-fb1e-4d89-ad91-7b470d3133f6
Ancestors: EToys-tfel.266

Remove an undeclared from cleanUpEtoysGarbage (make the reference to SkObject soft).

=============== Diff against EToys-tfel.266 ===============

Item was changed:
  ----- Method: Project class>>cleanUpEtoysGarbage (in category '*Etoys-Squeakland-utilities') -----
  cleanUpEtoysGarbage
  	"Project cleanUpEtoysGarbage"
  	"All these should eventuall go away and be fixed, but for now we have this here."
  	Smalltalk garbageCollect.
  	"Clear weak message sends to remove modal windows from worlds that are closing."
  	(WeakMessageSend allInstances select: [:wm  |
  		(wm receiver isKindOf: PasteUpMorph) and: [wm selector = #removeModalWindow]]) do: [:wm | wm receiver: nil].
  	"Clear the weak dictionary on the class side that keeps node state around in the rewriter"
  	KedamaEvaluatorNodeState initialize.
  	"Clear the KedamaEvaluator that holds on to the last Kedama world"
  	ScriptEditorMorph setDefaultEvaluator.
  	"Clear the hard references to player classes, "
  	(Smalltalk organization listAtCategoryNamed:  'UserObjects') do: [:name |
  	    Smalltalk forgetClass: (Smalltalk classNamed: name) logged: false].
  	Player withAllSubclasses 
  	    select: [:c | c isSystemDefined not]
  	    thenDo: [:c  | c superclass removeSubclass: c].
  	"Clear the paste buffer"
  	HandMorph initialize.
  	"Clear the reference to the project tree in SkObject"
+ 	Smalltalk at: #SkObject ifPresent: [:cls| cls initialize].
- 	SkObject initialize.
  	PasteUpMorph allInstancesDo: [:m | m presenter ifNotNil: [:p | p flushPlayerListCache]].
+ 	Smalltalk garbageCollect!
- 	Smalltalk garbageCollect.!



More information about the Squeak-dev mailing list