[Pharo-dev] what unload does?

Marcus Denker marcus.denker at inria.fr
Mon Nov 25 02:15:44 EST 2013


On 24 Nov 2013, at 22:56, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:

> Stupidly I was thinking that unload was removing classes from the system.
> 
> but 	(MCWorkingCopy forPackage: (MCPackage named: 'NautilusCommon')) unload.
> does not remove the classes from the system
> 
> is it me or it was working?
> 

It seems to work for me… I get a FallBack world menu after and the package seems to be unloaded.
(of course there will be obsolete classes still around as other packages subclass from classes of
this).

ScriptLoader’s #unloadPackageNamed: does the same and I used it a lot.

	Marcus



More information about the Pharo-dev mailing list