BTW; DCM_FORCE_GC is not an option. (GC under GC) Seems the best option is to keep the all JSContext and call destroy on them right before JS_DestroyRuntime.
The only headache here is the memory used by them won't be freed until the end of actual context. _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals