mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
mark binding
This commit is contained in:
@@ -613,6 +613,7 @@ pub const EventLoop = struct {
|
||||
}
|
||||
extern fn JSC__JSGlobalObject__drainMicrotasks(*JSC.JSGlobalObject) void;
|
||||
fn drainMicrotasksWithGlobal(this: *EventLoop, globalObject: *JSC.JSGlobalObject) void {
|
||||
JSC.markBinding(@src());
|
||||
JSC__JSGlobalObject__drainMicrotasks(globalObject);
|
||||
this.drainDeferredTasks();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user