mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1113744 - Don't call zone() when compacting off thread on a CLOSED TREE.
This commit is contained in:
parent
ba0fd3d927
commit
fe6a2e21b2
@ -4653,7 +4653,9 @@ TypeObject::clearProperties()
|
||||
bool
|
||||
TypeObject::needsSweep()
|
||||
{
|
||||
return generation() != zone()->types.generation;
|
||||
// Note: this can be called off thread during compacting GCs, in which case
|
||||
// nothing will be running on the main thread.
|
||||
return generation() != zoneFromAnyThread()->types.generation;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user