Subj : Re: System resource wrapping To : netscape.public.mozilla.jseng From : Matthew Mondor Date : Thu Feb 10 2005 07:51 am Hmm I tried adding the object to the root as a test, however I am of course realizing that errors occur when closing the context if the user script does not explicitely close the objects. It would seem that JS_AddRoot() is only made for short time use in particular circumstances sort of locking resources when performing multiple operations which need atomicity only. However, were my fears justified about possibility of those objects from being GCed? Or would current GC semantics be trustable that this won't happen in normal usage? Matt .