1
0
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:
Basilisk-Dev
2026-05-24 14:57:38 -04:00
committed by roytam1
parent 52ce9ebea5
commit ac0510f380
+1 -1
View File
@@ -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();
}