From d900aa2eeb3c0d52cfa6865397f8d6d0bdaa76ef Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Sun, 26 Oct 2025 17:36:03 +0900 Subject: [PATCH] Revert gc related change --- src/bun.js/event_loop/Task.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bun.js/event_loop/Task.zig b/src/bun.js/event_loop/Task.zig index f17048d19a..58cc3a6129 100644 --- a/src/bun.js/event_loop/Task.zig +++ b/src/bun.js/event_loop/Task.zig @@ -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;