mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 735491 - Fix possible recursion when tracing Debugger objects; r=billm
--HG-- extra : rebase_source : 9a1365dd7dffdd4a34f2390bc1739b490369cbe5
This commit is contained in:
parent
e2b9a9b0ec
commit
4ce018517d
@ -2163,7 +2163,7 @@ DebuggerScript_trace(JSTracer *trc, JSObject *obj)
|
||||
/* This comes from a private pointer, so no barrier needed. */
|
||||
if (JSScript *script = GetScriptReferent(obj)) {
|
||||
MarkScriptUnbarriered(trc, &script, "Debugger.Script referent");
|
||||
SetScriptReferent(obj, script);
|
||||
obj->setPrivateUnbarriered(script);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user