diff options
Diffstat (limited to 'core/ninep')
| -rw-r--r-- | core/ninep/tree.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/ninep/tree.zig b/core/ninep/tree.zig index d95efb8c..85723991 100644 --- a/core/ninep/tree.zig +++ b/core/ninep/tree.zig @@ -1256,9 +1256,8 @@ fn linesOpen(target: Target, req: Req) bool { /// The editor's step: the last lines of closed opens run, each as a write /// of its own; a refusal is the log's err, as no open is left to answer. -pub fn runClosedLines(p: *Pardes) void { - const taped = pardes.tape.enter(p, .run_closed_lines); - defer pardes.tape.leave(p, taped); +pub const runClosedLines = pardes.tape.taped(runClosedLinesInner); +fn runClosedLinesInner(p: *Pardes) void { for (p.fs.closed_lines.items) |*line| { defer line.bytes.deinit(p.gpa); const t = Node.target(line.node) orelse continue; |
