nsISample give this error when quitting from xpcshell.
Have some things changed w/ js components?

Thanks

--pete


$ js
Type Manifest File:
/home/petejc/MOZILLA_TIP/mozilla/dist/bin/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
js> const Sample=new Components.Constructor("@mozilla.org/jssample;1",
"nsISample");
js> var sample = new Sample();
CI: {7cb5b7a1-07d7-11d3-bde2-000064657374}
js>  for(var list in sample)
print(list);
QueryInterface
value
writeValue
poke
js> quit();

CanUnload_enumerate: skipping native
*** Unloading sample JS components
Runtime mismatch, so leaking context!
JS API usage error: 1 contexts left in runtime upon JS_DestroyRuntime.
JS engine warning: leaking GC root 'res->input' at 0x80e3ff8
JS engine warning: 1 GC root remains after destroying the JSRuntime.
                   This root may point to freed memory. Objects
reachable
                   through it have not been finalized.
###!!! ASSERTION: Component Manager being held past XPCOM shutdown.:
'cnt == 0', file nsXPComInit.cpp, line 505
###!!! Break: at file nsXPComInit.cpp, line 505



Reply via email to