switch refresh to arena - will clean at process exit
All checks were successful
Generic zig build / build (push) Successful in 1m23s
Generic zig build / deploy (push) Successful in 15s

This commit is contained in:
Emil Lerch 2026-06-01 08:54:03 -07:00
parent 704be793a5
commit 7c9acef48b
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -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();
}