Bug 788362 - 9,440 bytes in 107 blocks are definitely lost as detected by Valgrind with selectforgc. r=jcoppeard

This commit is contained in:
Bill McCloskey 2012-09-23 21:30:30 -04:00
parent 1e0565d5cd
commit 72a2c2bfdf

View File

@ -4304,7 +4304,8 @@ IncrementalCollectSlice(JSRuntime *rt,
case MARK_ROOTS:
BeginMarkPhase(rt);
PushZealSelectedObjects(rt);
if (rt->hasContexts())
PushZealSelectedObjects(rt);
rt->gcIncrementalState = MARK;