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
Родитель 3ff0d9cc39
Коммит b88411f456
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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