Noury Bouraqadi-2 wrote:
> 
> Object subclasses collection still includes a reference to the class you
> created in a different envirenment. It will never be GCed. So, this is a
> memory leak!
> 

Aha, okay now I understand:
  Object subclasses detect: [ :c | c name = #AClassForTesting ]. "Returns:
AClassForTesting"

Thanks again, Noury.

Sean
-- 
View this message in context: 
http://forum.world.st/Creating-temporary-classes-for-testing-tp3080408p3082151.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to