Bug 820713 - Assertion failure: cx->runtime->requestDepth || cx->runtime->isHeapBusy(), at js/src/jscntxt.cpp:1492. r=billm

This commit is contained in:
Gregor Wagner 2012-12-13 15:35:40 -08:00
parent f68111e9de
commit 28c31e2f62

View File

@ -39,6 +39,7 @@ public:
if (!cx) {
NS_WARNING("Failed to GetSafeJSContext");
}
JSAutoRequest ar(cx);
JS_ClearDateCaches(cx);
}