[squeak-dev] The Trunk: Monticello-dtl.417.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 12 04:50:14 UTC 2011


David T. Lewis uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-dtl.417.mcz

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

Name: Monticello-dtl.417
Author: dtl
Time: 11 January 2011, 11:49:59.112 pm
UUID: 3af332d1-8df0-4aed-85fa-5135e81b1dde
Ancestors: Monticello-bp.416

When a package is unloaded, any subpackages will also be removed, so unregister the MCWorkingCopies for these subpackages after the removal.

=============== Diff against Monticello-bp.416 ===============

Item was added:
+ ----- Method: MCPackageManager>>unregisterSubpackages (in category 'operations') -----
+ unregisterSubpackages
+ 	(self class registry keys
+ 		select: [:p | self packageName , '-*' match: p name])
+ 		do: [:k | self class registry removeKey: k]!

Item was changed:
  ----- Method: MCWorkingCopy>>unload (in category 'operations') -----
  unload
  	MCPackageLoader unloadPackage: self package.
+ 	self unregisterSubpackages.
  	self unregister.!




More information about the Squeak-dev mailing list