[squeak-dev] The Inbox: System-fbs.523.mcz
Frank Shearar
frank.shearar at gmail.com
Sat Apr 13 15:05:41 UTC 2013
On 12 April 2013 19:00, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On 12.04.2013, at 11:32, commits at source.squeak.org wrote:
>
>> Frank Shearar uploaded a new version of System to project The Inbox:
>> http://source.squeak.org/inbox/System-fbs.523.mcz
<snip>
> I'd rather use "Smalltalk cleanUp" which does almost all of what you listed. This is more future-proof. If something is missing, add it to the cleanUp mechanism (that is, implement a class-side cleanUp or cleanUp: method).
So just to be clear you mean unloading packages should be:
unloadPackages: somePackageNames
"Go unloading"
somePackageNames do: [:pkgName|
(MCPackage named: pkgName) unload.
MCMcmUpdater disableUpdatesOfPackage: pkgName.
].
Smalltalk cleanUp: true. "Needed to trigger the MCWorkingCopy's
#cleanUp: of obsolete PackageInfos; could of course change that method
to always do this."
where we have another commit implementing Preferences >> #cleanUp ?
frank
> - Bert -
More information about the Squeak-dev
mailing list
|