Subj : Re: [spidermonkey] JS_CallFunction in Finalize To : franck From : Brendan Eich Date : Tue Aug 30 2005 01:05 pm franck wrote: > In any way, when I try to use functions like JS_GetProperty, ... the > engine seems to failed to create a js_NewString with the property's > name, JS_ASSERT(!rt->gcRunning) failed in jsgc.c ( unable to create a > NewGCThing while GC is running I suppose ). Oh, I forgot to mention that JS onClose implementations cannot allocate any new objects, strings, or doubles. > Is there any other way or workaround to allow my 'advanced users' to do > this ? ( I suppose that such users are aware about these "very bad > things" ). (I wouldn't suppose that.) Did you try an onClose implementation that made no allocations? /be .