eliminate small supervisor memory leak when handler panics
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m53s

This commit is contained in:
Emil Lerch 2023-10-26 13:37:25 -07:00
parent 9941e0cebb
commit 90f1461207
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -52,7 +52,7 @@ fn runStandaloneServerParent(allocator: ?std.mem.Allocator, event_handler: inter
const stdout = std.io.getStdOut();
const stderr = std.io.getStdErr();
while (true) {
var cp = std.ChildProcess.init(al.items, aa);
var cp = std.ChildProcess.init(al.items, alloc);
cp.stdin = stdin;
cp.stdout = stdout;
cp.stderr = stderr;