Subj : Re: GC called twice on the same object... To : netscape.public.mozilla.jseng From : "t o b e" Date : Tue Dec 30 2003 07:12 pm Actually.. scratch that.. 5 minutes further examination reveals that it's a dumbass mistake on my part... GC is indeed only being called once for each object. But Happy New Year all the same... t o b e "t o b e" wrote in message news:bsshko$kev1@ripley.netscape.com... > Firstly, Merry Christmas and a Happy new year to you all.. hope it's a good > one. > > Fairly simple question to answer, I hope: > > After adding finalizers to my Javascript objects I find that the GC is being > called twice for some objects. All I do in these finalizers is free some > memory associated with the object through it's private storage > (JS_SetPrivate). > > Is this expected behaviour or a symptom of something I've done/neglected to > do...?? > > Thanks in advance... > > Toby Bradshaw > -- > Senior Engineer, > Oregan Networks, > London, UK. > > > > > > > .