Address review comment for bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron.

This commit is contained in:
Peter Van der Beken 2008-06-21 19:47:46 +02:00
Родитель 5f15419301
Коммит 12e78301e6
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1452,6 +1452,8 @@ GCGraphBuilder::NoteScriptChild(PRUint32 langID, void *child)
}
if (!mRuntimes[langID]) {
NS_WARNING("Not collecting cycles involving objects for scripting "
"languages that don't participate in cycle collection.");
return;
}