Note that doing this (deleting the instances) only really works if there are
no other variables attached to them either through assignment ( myFx.foo =
"bar') or through closure.

On Sun, Apr 5, 2009 at 4:06 AM, MorganizeIT (via Nabble) <
[email protected]<ml-user%[email protected]>
> wrote:

>
> Delete them or assign them to a null value:
>
> delete my_big_honkin_object;
> OR
> my_big_honkin_object = null;
>
> -Morgan.
>
> On Apr 4, 3:59 am, gabriel munteanu 
> <jajali...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2588270&i=0>>
> wrote:
>
> > one more thing , if I may:
> > i got the destroy() part for Elements, but what about other objects,
> > that are simple instances of Class ?
> > example: Student, with age , sex and grades plus some methods.
> > what if I do many of them, and want to free some memory, what do I do ?
> >
> > gabi
> >
> > On Fri, Apr 3, 2009 at 2:46 PM, Thomas Aylott
> >
> > <oblivi...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2588270&i=1>>
> wrote:
> >
> > > I highly recommend you upgrade to moo 1.2 is you can.
> > > I know that's an obvious thing to say, but I had to say it anyway ;)
> >
> > > you're welcome.
> >
> > > —Thomas Aylott / subtleGradient
> >
> > > On Apr 3, 2009, at 5:55 AM, electronbender wrote:
> >
> > >> in this case i'm still using moo 1.1
> >
> > --
> > jgabioshttp://bash.editia.info
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/-Moo--Memory-leaks-tp2574784p2588270.html
> To start a new topic under MooTools Users, email
> [email protected]<ml-node%[email protected]>
> To unsubscribe from MooTools Users, click here< (link removed) >.
>
>
>


-----
The MooTools Tutorial:  http://www.mootorial.com www.mootorial.com 
Clientcide:  http://www.clientcide.com www.clientcide.com 
-- 
View this message in context: 
http://n2.nabble.com/-Moo--Memory-leaks-tp2574784p2590348.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to