From: Steffen Kern Date: 2006-01-25T23:03:19+09:00 Subject: Re: it is possible to unload a class? Edward Faulkner schrieb: > I suppose you could try to hunt down and rebind every reference to the > classes/modules in the library, eventually allowing them to be garabge > collected. But I can't think of a practical reason to do that. Well, there is at least one practical reason I can think of. Consider a server running several services. Theses services may be started/loaded and stopped/unloaded during runtime. Thus, it would be really nice to get rid of classes or modules, which belong to an old service which was stopped. Another aspect in this topic is: Is it possible to get rid of a mix-in which was introduced to a class? I mean, you have a class definition and afterwards you add a mix-in to that class. At some point in the future, you don't need the functionality of the mix-in and want to get rid of it. Maybe it is possible with undef or something like that? - Steffen