From 442b292a3712829578c1b93d406a87f1abcf45b8 Mon Sep 17 00:00:00 2001 From: rpkak Date: Mon, 2 Mar 2026 10:17:55 +0100 Subject: [PATCH] zig fetch: wait until all jobs are finished --- src/main.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.zig b/src/main.zig index 017f7bcf94..bb36d00376 100644 --- a/src/main.zig +++ b/src/main.zig @@ -7224,6 +7224,8 @@ fn cmdFetch( error.FetchFailed => {}, // error bundle checked below }; + try job_queue.group.await(io); + if (fetch.error_bundle.root_list.items.len > 0) { var errors = try fetch.error_bundle.toOwnedBundle(""); errors.renderToStderr(io, .{}, color) catch {};