bug 493720 - using the proper assert to assert the the GC is not running. r=mrbkap

This commit is contained in:
Igor Bukanov 2009-05-20 10:23:56 +02:00
parent daefd27739
commit fb2b92c352

View File

@ -631,7 +631,7 @@ js_DestroyContext(JSContext *cx, JSDestroyContextMode mode)
|| cx->requestDepth != 0
#endif
) {
JS_ASSERT(rt->gcLevel == 0);
JS_ASSERT(!rt->gcRunning);
JS_UNLOCK_GC(rt);