Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.185.mcz==================== Summary ====================
Name: ReleaseBuilder-mt.185
Author: mt
Time: 27 May 2018, 1:56:40.081902 pm
UUID: 00f78a55-f9e5-9047-a3a1-43ce0f7245f1
Ancestors: ReleaseBuilder-mt.184
Adds code to clean-up environment hick-ups.
=============== Diff against ReleaseBuilder-mt.184 ===============
Item was changed:
----- Method: ReleaseBuilder class>>discardUserObjects (in category 'scripts - support') -----
discardUserObjects
+ "Remove the classes."
Player removeUninstantiatedSubclassesSilently.
MorphicModel removeUninstantiatedSubclassesSilently.
+ "Clean-up environment hick-ups."
+ Environment default allClassesDo: [:cls |
+ cls environment ~~ Environment default
+ ifTrue: [Environment default forgetClass: cls logged: false]].
+ Environment default declarations
+ select: [:ea | (ea value isBehavior and: [ea value isUniClass]) and: [ea value isObsolete]]
+ thenDo: [:ea |
+ SystemOrganization removeElement: ea key.
+ Environment default removeKey: ea key].
+
"Remove empty categories for user objects."
SystemOrganizer cleanUp: true.!