Subj : Re: Optimizing DestoryContext() ? To : netscape.public.mozilla.jseng From : bubbfree Date : Thu Jan 27 2005 09:37 pm Is the only side effect of JS_DestroyContextNoGC that any finalizers I may have specified in custom objects will not get called? (and therefore may leak some native code if I were doing delete JS_GetPrivate(...) in the finalizer)? Or does JS_DestroyContextNoGC call finalize on all the objects no matter what their scope? Is there a function that will print out everything in the system? I guess I can do some recursive debug output on the global object. I will try that out. It shouldn't be a long list, but maybe something is going wrong in my code/. Thanks! .