mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
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:
parent
5f15419301
commit
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user