The Trunk: Morphic-ar.365.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-ar.365.mcz

commits-2
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.
  ].!