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 1m25s
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m25s
This commit is contained in:
parent
9941e0cebb
commit
89d54aecd7
|
@ -52,7 +52,8 @@ 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);
|
||||
defer cp.deinit();
|
||||
cp.stdin = stdin;
|
||||
cp.stdout = stdout;
|
||||
cp.stderr = stderr;
|
||||
|
|
Loading…
Reference in New Issue
Block a user