On 30 Nov 2013, at 09:07, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
did not work either :( Really I wonder if we will succeed to have a modular system one day. If we do not exercise it it will never happen.
Yes. And this is related to the #cleanUp scripts, too: When doing âSmalltalk cleanUpâ, Nautilus should kill all itâs caches⦠I made quite some progress on that some weeks ago (Nautilus, but everywhere else, too), but there is still some cases that are not freed correctly. Sadly the only way to improve is to slowly and iteratively spend time on it...
Stef
unloadNautilus
#Nautilus asClass cleanUp. KMRepository reset. KMPragmaKeymapBuilder release. #NautilusUI asClass allSubInstances do: [ :inst | SystemAnnouncer uniqueInstance unsubscribe: inst]. Smalltalk garbageCollect. Smalltalk garbageCollect. Smalltalk garbageCollect. {Nautilus. PackageTreeNautilus} do: #resetGroups. Smalltalk garbageCollect. Smalltalk garbageCollect. Smalltalk garbageCollect. Smalltalk garbageCollect. Smalltalk garbageCollect. (MCWorkingCopy forPackage: (MCPackage named: 'NautilusCommon')) unload. (MCWorkingCopy forPackage: (MCPackage named: 'Nautilus')) unload. (MCWorkingCopy forPackage: (MCPackage named: 'GroupManager')) unload.