Revert gc related change

This commit is contained in:
Sosuke Suzuki
2025-10-26 17:36:03 +09:00
parent 9950f3c43e
commit d900aa2eeb

View File

@@ -129,10 +129,6 @@ pub fn tickQueueWithCount(this: *EventLoop, virtual_machine: *VirtualMachine, co
}
}
// This is the start of a runloop turn, we can release any weakrefs here.
// This matches WebKit's DeferredWorkTimer::doWork() implementation.
global_vm.releaseWeakRefs();
while (this.tasks.readItem()) |task| {
log("run {s}", .{@tagName(task.tag())});
defer counter.* += 1;