switch refresh to arena - will clean at process exit
This commit is contained in:
parent
704be793a5
commit
7c9acef48b
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue