Destroying the temporary context used in evalcx and also doing a GC invalidates shape numbers, which kinda makes testing hard because it breaks shapeOf(evalcx("lazy")) === shapeOf(evalcx("lazy")); don't GC. rs=brendan

This commit is contained in:
Jeff Walden 2009-01-08 17:54:04 -08:00
parent cf74ec9191
commit 75243b3b86

View File

@ -2678,7 +2678,7 @@ out:
#ifdef JS_THREADSAFE
JS_EndRequest(scx);
#endif
JS_DestroyContext(scx);
JS_DestroyContextNoGC(scx);
return ok;
}