mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 05:46:58 +00:00
Revert "Issue #3092 - Implement BackgroundFinalizeTask for parallel garbage collection finalization"
This reverts commit 8ca5438db9840c21ec246d92adfe38b1c4557d5b.
This commit is contained in:
+1
-1
@@ -4716,7 +4716,7 @@ PrepareWeakCacheTasks(JSRuntime* rt)
|
||||
WeakCacheTaskVector out;
|
||||
for (GCZoneGroupIter zone(rt); !zone.done(); zone.next()) {
|
||||
for (JS::WeakCache<void*>* cache : zone->weakCaches_) {
|
||||
if (!out.emplaceBack(rt, *cache)) {
|
||||
if (!out.append(SweepWeakCacheTask(rt, *cache))) {
|
||||
SweepWeakCachesFromMainThread(rt);
|
||||
return WeakCacheTaskVector();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user