[Seaside] Re: Object Destruction (or how to destroy instance)

Sebastian Sastre ssastre at seaswork.com
Wed Sep 12 17:17:32 UTC 2007

Well garbage collection does not make differences between objects. Or they
are in use (referenced by other no matter who) or they not. There resides
it's discern.

I don't know what do you mean by "active" components or non active ones, but
if any object know another no matter what, the system guarantees you that it
will not be reclaimed by GC.


Sebastian Sastre

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Oleg Richards
> Enviado el: Miércoles, 12 de Septiembre de 2007 14:05
> Para: seaside at lists.squeakfoundation.org
> Asunto: [Seaside] Re: Object Destruction (or how to destroy instance)
> Hello!
> I've tried some of your recommendations, but after analyzing 
> owners of BusinessObject's in WeakArray (from query all class 
> instances).
> I see some references: They are referenced by some Seaside components.
> But for now only one component is active. System doesn't have 
> another components.
> They are only called from root task or from some callbacks of anchors
> with: call: (SOReportTable new: aReport).
> Code looks like that:
> |myAnswer|
> myAnswer := self call: (SOReportTable new: report copy).
> myAnswer ifNotNil: [ report := myAnswer ] 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list