From f8bf3331ce99d98b25b0dfcc877db9c1dd06f77b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 21:08:13 -0300 Subject: merge: the handover carrier on io.concurrent: Handover.start runs carry on the shell's Io (the double fork and exec inside it as they were), Handover.task keeps the future, finish awaits it once the answer is in, deinit cancels it; its waits are Io sleeps, so a cancel stops it there, leaving a coming-up window its dump --- src/gui/gui.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/gui.zig b/src/gui/gui.zig index 5d3cbafd..9c3a1256 100644 --- a/src/gui/gui.zig +++ b/src/gui/gui.zig @@ -4806,7 +4806,7 @@ fn handOver(ctx: ?*anyopaque, seq: u32, bytes: []const u8) void { std.fmt.bufPrint(&job.geometry, "{d}x{d}", .{ w, h })) catch ""; job.geometry_len = geometry.len; } - Handover.start(job) catch |err| { + s.core.handover.start(s.io, job) catch |err| { _ = libc.unlink(path); s.gpa.free(path); s.gpa.destroy(job); -- cgit v1.3