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
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m53s
This commit is contained in:
parent
9941e0cebb
commit
90f1461207
|
@ -52,7 +52,7 @@ fn runStandaloneServerParent(allocator: ?std.mem.Allocator, event_handler: inter
|
||||||
const stdout = std.io.getStdOut();
|
const stdout = std.io.getStdOut();
|
||||||
const stderr = std.io.getStdErr();
|
const stderr = std.io.getStdErr();
|
||||||
while (true) {
|
while (true) {
|
||||||
var cp = std.ChildProcess.init(al.items, aa);
|
var cp = std.ChildProcess.init(al.items, alloc);
|
||||||
cp.stdin = stdin;
|
cp.stdin = stdin;
|
||||||
cp.stdout = stdout;
|
cp.stdout = stdout;
|
||||||
cp.stderr = stderr;
|
cp.stderr = stderr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user