[BUG] Preferences hanging on to obsolete classes
Ned Konz
ned at bike-nomad.com
Fri Jul 19 00:16:20 UTC 2002
I don't know if this is unavoidable, but...
Print this:
Smalltalk obsoleteBehaviors size
which in the 3.2 image I have returns 15,
then do this:
Preference allInstances do: [ :pref | | target |
target _ (pref instVarNamed: 'changeInformee').
(target isBehavior and: [ target isObsolete ]) ifTrue: [
pref instVarNamed: 'changeInformee' put: (Smalltalk at: target name
ifAbsent: []). ] ]
Then print this again:
Smalltalk obsoleteBehaviors size
now it says 0.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|