Bug 915832, don't trigger a new GC if we're in middle of an iGC, r=billm

This commit is contained in:
Olli Pettay 2013-09-13 02:07:02 +03:00
parent 437d3656c2
commit c7708cd597

View File

@ -2343,7 +2343,7 @@ nsJSContext::LoadEnd()
void
nsJSContext::PokeGC(JS::gcreason::Reason aReason, int aDelay)
{
if (sGCTimer || sShuttingDown) {
if (sGCTimer || sInterSliceGCTimer || sShuttingDown) {
// There's already a timer for GC'ing, just return
return;
}