[squeak-dev] The Trunk: Morphic-ar.365.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 26 23:34:49 UTC 2010


Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.365.mcz

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

Name: Morphic-ar.365
Author: ar
Time: 27 February 2010, 12:31:29.335 am
UUID: ca484fa1-c29b-cf40-8afe-0aa7fa3ebabf
Ancestors: Morphic-ar.364

Move Player cleanUp from ScriptingSystem to Player.

=============== Diff against Morphic-ar.364 ===============

Item was changed:
  ----- Method: StandardScriptingSystem class>>cleanUp: (in category 'class initialization') -----
  cleanUp: agressive
  	"Clean up unreferenced players. If agressive, reinitialize and nuke players"
  
  	self removeUnreferencedPlayers.
  	agressive ifTrue:[
  		References keys do: [:k | References removeKey: k].
- 		{Player. CardPlayer} do:[:aClass|
- 			aClass subclassesDo:[:subClass|
- 				subClass isUniClass ifTrue:[Smalltalk removeClassNamed: subClass name].
- 			].
- 		].
  		self initialize.
  	].!




More information about the Squeak-dev mailing list