mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 624540 - Assertion failure: compartment mismatch in cycle collector during xpcom-shutdown. r=gal, a=blocking2.0+
This commit is contained in:
parent
967e85547a
commit
07d616bae5
@ -2756,8 +2756,8 @@ CType::Trace(JSTracer* trc, JSObject* obj)
|
||||
JSContext* cx = trc->context;
|
||||
|
||||
// Make sure our TypeCode slot is legit. If it's not, bail.
|
||||
jsval slot;
|
||||
if (!JS_GetReservedSlot(cx, obj, SLOT_TYPECODE, &slot) || JSVAL_IS_VOID(slot))
|
||||
jsval slot = js::Jsvalify(obj->getSlot(SLOT_TYPECODE));
|
||||
if (JSVAL_IS_VOID(slot))
|
||||
return;
|
||||
|
||||
// The contents of our slots depends on what kind of type we are.
|
||||
|
Loading…
Reference in New Issue
Block a user