зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5f15419301
Коммит
12e78301e6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче