mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 846590 - Do not poison when GC suppressed. r=terrence
This commit is contained in:
parent
2cde4c923b
commit
c5b6d6e750
@ -232,6 +232,9 @@ JS::CheckStackRoots(JSContext *cx)
|
||||
if (cx->compartment->activeAnalysis)
|
||||
return;
|
||||
|
||||
if (rt->mainThread.suppressGC)
|
||||
return;
|
||||
|
||||
// Can switch to the atoms compartment during analysis.
|
||||
if (IsAtomsCompartment(cx->compartment)) {
|
||||
for (CompartmentsIter c(rt); !c.done(); c.next()) {
|
||||
|
Loading…
Reference in New Issue
Block a user