From 7c9acef48bf2e14874a5256bebabdf2c6f5c97f3 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 1 Jun 2026 08:54:03 -0700 Subject: [PATCH] switch refresh to arena - will clean at process exit --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 51bc063..95727f7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -772,7 +772,7 @@ pub fn main(init: std.process.Init) !void { log.info("listening on port {d}", .{port}); try server.listen(); } else if (std.mem.eql(u8, command, "refresh")) { - try refresh(io, allocator, environ); + try refresh(io, init.arena.allocator(), environ); } else { printUsage(); }